Skip to content

Latest commit

 

History

History
 
 

preprocess

Data Preprocessing Toolkit in GluonNLP

Clean and Tokenize a Parallel Corpus

To clean and tokenize a parallel corpus, use

nlp_preprocess clean_tok_para_corpus --help

Learn/Apply Subwords

To learn a subword tokenizer, use

nlp_preprocess learn_subword --help

To apply the learned subword tokenizer, user

nlp_preprocess apply_subword --help