sina-al / pynlp

A pythonic wrapper for Stanford CoreNLP.
MIT License
107 stars 11 forks source link

typo error on StanfordCoreNLP __init__ #20

Closed avelino closed 6 years ago

avelino commented 6 years ago
Traceback (most recent call last):
  File "main_core.py", line 3, in <module>
    from pynlp import StanfordCoreNLP
  File "/Users/avelino/.virtualenvs/nuveo.nlp/lib/python2.7/site-packages/pynlp/__init__.py", line 1, in <module>
    from .client import StanfordCoreNLP
  File "/Users/avelino/.virtualenvs/nuveo.nlp/lib/python2.7/site-packages/pynlp/client.py", line 66
    def __init__(self, properties: Properties):
                                 ^
SyntaxError: invalid syntax

https://github.com/sina-al/pynlp/blob/80a235f86953cb7e9050e76ee7878582eb49b988/pynlp/client.py#L66

sina-al commented 6 years ago

pynlp currently only works with python3