Skip to content

Commit

Permalink
Add wsd requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
wannaphong committed Jul 12, 2023
1 parent 3e9b28b commit 2216899
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ ufal.chu-liu-edmonds==1.0.2
wtpsplit==1.0.1
fastcoref==2.1.6
panphon==0.20.0
sentence-transformers==2.2.2
1 change: 1 addition & 0 deletions docs/notes/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ where ``extras`` can be
- ``transformers_ud`` (to support transformers_ud engine)
- ``dependency_parsing`` (to support dependency parsing with all engine)
- ``coreference_resolution`` (to support coreference esolution with all engine)
- ``wsd`` (to support pythainlp.wsd)
- ``full`` (install everything)

For dependency details, look at `extras` variable in `setup.py <https://github.com/PyThaiNLP/pythainlp/blob/dev/setup.py>`_.
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@
"word_approximation":{
"panphon>=0.20.0"
},
"wsd":{
"sentence-transformers>=2.2.2"
},
"full": [
"PyYAML>=5.3.1",
"attacut>=1.0.4",
Expand Down Expand Up @@ -150,6 +153,7 @@
"fastcoref>=2.1.5",
"ufal.chu-liu-edmonds>=1.0.2",
"panphon>=0.20.0",
"sentence-transformers>=2.2.2",
],
}

Expand Down

0 comments on commit 2216899

Please sign in to comment.