nlp
nlp copied to clipboard
task6: alternative api
Better api for polish wordnet is available: http://ws.clarin-pl.eu/lex.shtml
.
url = 'http://ws.clarin-pl.eu/lexrest/lex'
headers = {'Content-Type': 'application/json'}
data = {'task': 'all', 'tool': 'plwordnet', 'lexeme': word}