Skip to content

Commit

Permalink
Update get_sense docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wannaphong committed Jul 12, 2023
1 parent 233ba2f commit 0753174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythainlp/wsd/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_sense(
:param str sentence: Thai sentence
:param str word: Thai word
:param str device: device for running model.
:param dict custom_dict: Thai dictionary {"word":{"part-of-speech":["definition"]}}
:param dict custom_dict: Thai dictionary {"word":["definition",..]}
:param Tokenizer custom_tokenizer: Tokenizer for tokenize words from sentence.
:return: list of definition and distance or None (If word is not in the dictionary)
:rtype: Union[List[Tuple[str, float]], None]
Expand Down

0 comments on commit 0753174

Please sign in to comment.