Skip to content

Commit f38c51a

Browse files
committed
Update pythainlp.wsd docs
1 parent 1bec0f2 commit f38c51a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pythainlp/wsd/core.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,15 @@ def get_sense(
6767
:return: list of definition and distance or None (If word is not in the dictionary)
6868
:rtype: Union[List[Tuple[str, float]], None]
6969
70-
We get the ideas from `Context-Aware Semantic Similarity Measurement for Unsupervised Word Sense Disambiguation <https://arxiv.org/abs/2305.03520>`_ to build get_sense function.
70+
We get the ideas from `Context-Aware Semantic Similarity Measurement for Unsupervised \
71+
Word Sense Disambiguation <https://arxiv.org/abs/2305.03520>`_ to build get_sense function.
7172
7273
For Thai dictionary, We use Thai dictionary from wiktionary.
7374
See more `thai_dict <https://pythainlp.github.io/pythainlp-corpus/thai_dict.html>`_.
7475
75-
For the model, We use Sentence Transformers model from
76-
sentence-transformers/paraphrase-multilingual-mpnet-base-v2.
76+
For the model, We use Sentence Transformers model from \
77+
sentence-transformers/paraphrase-multilingual-mpnet-base-v2 for \
78+
Unsupervised Word Sense Disambiguation.
7779
7880
:Example:
7981
::

0 commit comments

Comments
 (0)