MCPcopy
hub / github.com/nltk/nltk / fromstring

Method fromstring

nltk/sem/logic.py:953–957  ·  view source on GitHub ↗
(cls, s, type_check=False, signature=None)

Source from the content-addressed store, hash-verified

951
952 @classmethod
953 def fromstring(cls, s, type_check=False, signature=None):
954 if type_check:
955 return cls._type_checking_logic_parser.parse(s, signature)
956 else:
957 return cls._logic_parser.parse(s, signature)
958
959 def __call__(self, other, *additional):
960 accum = self.applyto(other)

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected