diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index 8396da8..0000000 --- a/MANIFEST +++ /dev/null @@ -1,5 +0,0 @@ -# file GENERATED by distutils, do NOT edit -setup.cfg -setup.py -pyco/__init__.py -pyco/pyco.py diff --git a/README.md b/README.md index e5065a4..c39e719 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# pyco +# corenlp_pywrap ##CoreNLP v3.6.0 ###Powerfull python wrapper for Stanford CoreNLP project - If user did not mention output format, use json - notify diff --git a/corenlp_pywrap/__init__.py b/corenlp_pywrap/__init__.py new file mode 100644 index 0000000..ae66ac6 --- /dev/null +++ b/corenlp_pywrap/__init__.py @@ -0,0 +1 @@ +from corenlp_pywrap.pywrap import CoreNLP \ No newline at end of file diff --git a/pyco/pyco.py b/corenlp_pywrap/pywrap.py similarity index 99% rename from pyco/pyco.py rename to corenlp_pywrap/pywrap.py index 520394f..1894837 100644 --- a/pyco/pyco.py +++ b/corenlp_pywrap/pywrap.py @@ -24,6 +24,7 @@ def __init__(self, url=url, annotator_list=annotator_full_list): root.info('Using all the annotators') self.annotator_list = annotator_list + def basic(self, data, out_format='json'): s_string = '/?properties={"annotators": "' anot_string = ','.join(self.annotator_list) diff --git a/pyco/__init__.py b/pyco/__init__.py deleted file mode 100644 index bce6d7b..0000000 --- a/pyco/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from pyco.pyco import CoreNLP \ No newline at end of file