add punctuation normalization and load the tokenizer only once 2a62da0 cointegrated commited on Sep 25, 2024
raise errors when the source or target language is not chosen 5c565ab cointegrated commited on Sep 25, 2024
fixes for nltk and transformers updates (#6) aac03a6 verified davanstrien HF staff commited on Sep 6, 2024
Remove low quality languages from target languages (#5) 74a629f verified davanstrien HF staff commited on Jul 11, 2024
Refactor translation function to support paragraph translation e72a9c0 davanstrien HF staff commited on Apr 8, 2024
Add nltk dependency and update translate function to handle multiple sentences 5e1003d davanstrien HF staff commited on Apr 4, 2024
Refactor code to improve performance and readability 3f23d73 davanstrien HF staff commited on Apr 4, 2024
Refactored text chunk splitting logic in translate function eeaa3ab davanstrien HF staff commited on Apr 4, 2024
Refactor translation logic to handle long chunks e906778 davanstrien HF staff commited on Mar 6, 2024
Refactor translate function to split input text into smaller chunks 15ccfd9 davanstrien HF staff commited on Mar 6, 2024