https://github.com/red-rocket-dev/pyplwnxml
Parser for plwnxml (format of polish wordnet, słowosieć)
https://github.com/red-rocket-dev/pyplwnxml
nlp python python-3 slowosiec wordnet
Last synced: 6 months ago
JSON representation
Parser for plwnxml (format of polish wordnet, słowosieć)
- Host: GitHub
- URL: https://github.com/red-rocket-dev/pyplwnxml
- Owner: red-rocket-dev
- License: isc
- Created: 2017-08-30T21:12:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-08T01:29:05.000Z (about 8 years ago)
- Last Synced: 2025-03-27T13:24:06.402Z (6 months ago)
- Topics: nlp, python, python-3, slowosiec, wordnet
- Language: Python
- Size: 10.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
pyplwnxml
=============================Parser for plwnxml (format of polish wordnet, słowosieć, http://nlp.pwr.wroc.pl/plwordnet/download/).
-----
Usage example
----------------------------
::from pyplwnxml import PlwnxmlParser
WORDNET_LOCATION = "plwordnet-3.0.xml"
if __name__ == "__main__":
wordnet = PlwnxmlParser(WORDNET_LOCATION).read_wordnet()
for lu in wordnet.lemma("zły")[0].synsets[0].lexical_units:
print(lu.name)Will print::
zły
niedobryInstallation
----------------------------
::pip install pyplwnxml
----
Tested with Słowosieć 3.0 and Python 3.6.1