1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
Wn Documentation
================
Overview
--------
This package provides an interface to wordnet data, from simple lookup
queries, to graph traversals, to more sophisticated algorithms and
metrics. Features include:
- Support for wordnets in the
`WN-LMF <https://globalwordnet.github.io/schemas/>`_ format
- A `SQLite <https://sqlite.org>`_ database backend for data
consistency and efficient queries
- Accurate modeling of Words, Senses, and Synsets
Quick Start
-----------
.. code-block:: console
$ pip install wn
.. code-block:: python
>>> import wn
>>> wn.download('ewn:2020')
>>> wn.synsets('coffee')
[Synset('ewn-04979718-n'), Synset('ewn-07945591-n'), Synset('ewn-07945759-n'), Synset('ewn-12683533-n')]
Contents
--------
.. toctree::
:maxdepth: 2
setup.rst
cli.rst
faq.rst
.. toctree::
:caption: Guides
:maxdepth: 2
guides/lexicons.rst
guides/basic.rst
guides/interlingual.rst
guides/wordnet.rst
guides/lemmatization.rst
guides/nltk-migration.rst
.. toctree::
:caption: API Reference
:maxdepth: 1
:hidden:
api/wn.rst
api/wn.compat.rst
api/wn.compat.sensekey.rst
api/wn.constants.rst
api/wn.ic.rst
api/wn.lmf.rst
api/wn.morphy.rst
api/wn.project.rst
api/wn.similarity.rst
api/wn.taxonomy.rst
api/wn.util.rst
api/wn.validate.rst
api/wn.web.rst
|