Skip to content

Commit

Permalink
Update wikipedia_titles.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bact authored Dec 1, 2023
1 parent 5848a06 commit 0b52e14
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pythainlp/corpus/wikipedia_titles.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@

def wikipedia_titles() -> FrozenSet[str]:
"""
Return a frozenset of words in the Thai Wikipedia titles corpus.
Return a frozenset of words from Thai Wikipedia titles corpus.
They are mostly nouns and noun phrases,
including event, organization, people, place, and product names.
including event, organization, people, place, and product names.
Commonly misspelled words are included intentionally.
The data file is at pythainlp/corpus/wikipedia_titles.txt
The word list has beed prepared by the code at:
https://github.com/konbraphat51/Thai_Dictionary_Cleaner
More info:
https://github.com/PyThaiNLP/pythainlp/blob/dev/pythainlp/corpus/corpus_license.md
:return: :class:`frozenset` containing words in Thai Wikipedia titles.
:rtype: :class:`frozenset`
Expand Down

0 comments on commit 0b52e14

Please sign in to comment.