Skip to content
Snippets Groups Projects
Commit 1b4167c5 authored by Arkadiusz Janz's avatar Arkadiusz Janz
Browse files

Merge branch 'develop' into 'master'

Develop

See merge request !11
parents 064bfd05 2f772ef5
Branches master
1 merge request!11Develop
Pipeline #16144 passed with stages
in 1 minute and 47 seconds
...@@ -54,4 +54,4 @@ test_load: ...@@ -54,4 +54,4 @@ test_load:
- pip install --upgrade pip - pip install --upgrade pip
- pip install . - pip install .
script: script:
- python -c 'import plwn; print(plwn.load_default().lexical_unit("pies", plwn.PoS.noun_pl, 2).definition)' - python -c 'import plwn; plwn.download(); print(plwn.load("default_model").lexical_unit("pies", plwn.PoS.noun_pl, 2).definition)'
...@@ -6,7 +6,7 @@ PLWN API is a library for accessing the plWordNet lexicon in a Python program. ...@@ -6,7 +6,7 @@ PLWN API is a library for accessing the plWordNet lexicon in a Python program.
Setup Setup
===== =====
To use the api one has to download a default data dump. To setup the api you have to `download` command from plwn library. To use the api one has to download a default data dump. To setup the api you have to execute `download` command from plwn library.
```python ```python
import plwn import plwn
...@@ -21,7 +21,7 @@ Usage ...@@ -21,7 +21,7 @@ Usage
===== =====
Access is provided using a PLWordNet object, with data loaded from the database Access is provided using a PLWordNet object, with data loaded from the database
dump. To get thethe database dump use the `download` method (see ,,Setup'' section). dump. To get the database dump use the `download` method (see ,,Setup'' section).
```python ```python
import plwn import plwn
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment