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

Port LASER-2,3 text preprocessing into Python #236

Closed
avidale opened this issue Jun 8, 2023 · 1 comment
Closed

Port LASER-2,3 text preprocessing into Python #236

avidale opened this issue Jun 8, 2023 · 1 comment

Comments

@avidale
Copy link
Contributor

avidale commented Jun 8, 2023

Currently, text preprocessing is performed via third-party command line tools (Moses and SentencePiece), which makes their use less convenient, especially when processing one sentence at a time.

We will need to switch to their Python implementations (i.e. sacremoses and Python interface for SentencePiece) and wrap them into an interface like Tokenizer in the transformers package responsible for all the text preprocessing.

Some of the Moses scripts may be available in the Stopes repository, and some of them might be needed to re-implemented from scratch.

@avidale
Copy link
Contributor Author

avidale commented Nov 22, 2023

Done in #249

@avidale avidale closed this as completed Nov 22, 2023
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

No branches or pull requests

1 participant