From fe028d7364ee37d46fe554857401de51ce5faf3d Mon Sep 17 00:00:00 2001 From: Arkadiusz Janz <arkadiusz.janz@pwr.edu.pl> Date: Fri, 12 Jan 2024 21:39:41 +0100 Subject: [PATCH 1/2] readme updated --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9878e50..acbfc92 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ PLWN API is a library for accessing the plWordNet lexicon in a Python program. 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 import plwn @@ -21,7 +21,7 @@ Usage ===== 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 import plwn -- GitLab From 2f772ef5efa7843f28ae815d2f193512c6d93ba6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Janz <arkadiusz.janz@pwr.edu.pl> Date: Fri, 12 Jan 2024 21:45:37 +0100 Subject: [PATCH 2/2] tests updated, readme updated --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dddd4e2..3a36fba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -54,4 +54,4 @@ test_load: - pip install --upgrade pip - pip install . 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)' -- GitLab