MCPcopy Create free account
hub / github.com/awslabs/gap-text2sql / annotate

Function annotate

rat-sql-gap/seq2struct/resources/corenlp.py:41–45  ·  view source on GitHub ↗
(text, annotators=None, output_format=None, properties=None)

Source from the content-addressed store, hash-verified

39
40
41def annotate(text, annotators=None, output_format=None, properties=None):
42 global _singleton
43 if not _singleton:
44 _singleton = CoreNLP()
45 return _singleton.annotate(text, annotators, output_format, properties)

Callers

nothing calls this directly

Calls 2

annotateMethod · 0.95
CoreNLPClass · 0.85

Tested by

no test coverage detected