MCPcopy Index your code
hub / github.com/clips/pattern / find_prepositions

Method find_prepositions

pattern/text/__init__.py:543–546  ·  view source on GitHub ↗

Annotates the given list of tokens with prepositional noun phrase tags.

(self, tokens, **kwargs)

Source from the content-addressed store, hash-verified

541 language = kwargs.get("language", self.language)))
542
543 def find_prepositions(self, tokens, **kwargs):
544 """ Annotates the given list of tokens with prepositional noun phrase tags.
545 """
546 return find_prepositions(tokens) # See also Parser.find_chunks().
547
548 def find_labels(self, tokens, **kwargs):
549 """ Annotates the given list of tokens with verb/predicate tags.

Callers 1

Calls 1

find_prepositionsFunction · 0.85

Tested by 1