Skip to content

Commit

Permalink
Update lm/vocabulary.py
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph M. Lüscher <[email protected]>
  • Loading branch information
Nintendo-Wei and christophmluscher authored Jan 12, 2024
1 parent 73eb62d commit c0916ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lm/vocabulary.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class VocabularyFromTextJob(Job):

def __init__(self, file_paths: List[tk.Path], size: int = 1000000, counts: bool = False):
"""
:param List[Path] file_paths: paths to the text files
:param file_paths: paths to the text files
:param int size: expected size of the vocabulary
:param bool counts: whether write the counts of the words into the vocabulary file
"""
Expand Down

0 comments on commit c0916ca

Please sign in to comment.