Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tokenisation support for the Tetun language #224

Merged
merged 1 commit into from
Mar 15, 2021

Conversation

raphaelmerx
Copy link
Contributor

Description

Adding support for tokenisation of the Tetun Dili language (code tdt). Tetun has words that contain apostrophes (e.g "I" in Tetun is "ha'u"). The logic here will keep apostrophes when they are part of words, but will tokenize them if they are used for quotes.

Test

echo "bainhira sa'e aviaun husi Austrália ba Timor-Leste dehan 'oh kadeira sa'e ona'" | perl mosesdecoder/scripts/tokenizer/tokenizer.perl -threads 1 -l tdt -no-escape
Tokenizer Version 1.1
Language: tdt
Number of threads: 1
bainhira sa'e aviaun husi Austrália ba Timor-Leste dehan ' oh kadeira sa'e ona '

@hieuhoang
Copy link
Contributor

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants