Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PLWN_API
Manage
Activity
Members
Labels
Plan
Issues
10
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Libraries
PLWN_API
Commits
1b4167c5
Commit
1b4167c5
authored
1 year ago
by
Arkadiusz Janz
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'master'
Develop See merge request
!11
parents
064bfd05
2f772ef5
Branches
master
1 merge request
!11
Develop
Pipeline
#16144
passed with stages
in 1 minute and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
README.md
+2
-2
2 additions, 2 deletions
README.md
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
1
−
1
View file @
1b4167c5
...
@@ -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)'
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
1b4167c5
...
@@ -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 the
the
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment