You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pythainlp/wsd/core.py
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -67,13 +67,15 @@ def get_sense(
67
67
:return: list of definition and distance or None (If word is not in the dictionary)
68
68
:rtype: Union[List[Tuple[str, float]], None]
69
69
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.
71
72
72
73
For Thai dictionary, We use Thai dictionary from wiktionary.
73
74
See more `thai_dict <https://pythainlp.github.io/pythainlp-corpus/thai_dict.html>`_.
74
75
75
-
For the model, We use Sentence Transformers model from
0 commit comments