Skip to content

Commit

Permalink
Update kytea_model.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
vbkaisetsu authored Sep 20, 2023
1 parent 4899bb0 commit f2b0a9f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vaporetto/src/kytea_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,10 @@ impl TryFrom<KyteaModel> for Model {
b'T' => CharacterType::Katakana as u8,
b'K' => CharacterType::Kanji as u8,
b'O' => CharacterType::Other as u8,
// Some models distributed on KyTea's web site contain the invalid character type `0x04`.
// The following supports them.
//
https://github.com/daac-tools/vaporetto/issues/110
// Some models distributed on KyTea's web site contain the invalid character
// type `0x04`. The following supports them.
4 => {
continue 'a;
}
Expand Down

0 comments on commit f2b0a9f

Please sign in to comment.