-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix Japanese handling This changes the Japanese tokenizer to use versions of mecab-python3 1.0 or greater. This means the package will work on Windows. (#104) However, since the Japanese tokenizer pulls in heavy dependencies and isn't necessary unless you're dealing with Japanese, I moved it to optional dependencies. You can install sacrebleu with Japanese support like below: pip install sacrebleu[ja] That will install mecab-python3 and ipadic. This also includes basic tests to check that the tokenization is as exepcted for IPAdic. * Make travis install the Japanese deps * Remove old comments
- Loading branch information
Showing
3 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters