ayoungprogrammer / nlquery

Natural Language Engine on WikiData
GNU General Public License v2.0
436 stars 72 forks source link

nltk incompatibility? #1

Closed Spiritdude closed 8 years ago

Spiritdude commented 8 years ago

I just tried to install it myself, and I encountered following issues:

Traceback (most recent call last):
  File "main.py", line 17, in <module>
    main(sys.argv[1:])
  File "main.py", line 6, in main
    engine = NLQueryEngine('localhost', 9000)
  File ".../nlquery/nlquery/nlquery.py", line 21, in __init__
    self.parser = StanfordServerParser(host, port, properties)
TypeError: __init__() takes at most 3 arguments (4 given)
% python --version
Python 2.7.12

The CoreNLP server is running at port 9000 (tested via wget).

ayoungprogrammer commented 8 years ago

Sorry it looks like the lango version was incorrect. The version to be used is:

lango==0.13.2

I have updated the requirements.txt accordingly