create dictionary based WordSegmenter returns MissingDataKey, segmenter/dictionary/w_auto@1 #3545
Labels
A-data
Area: Data coverage or quality
C-segmentation
Component: Segmentation
T-bug
Type: Bad behavior, security, privacy
Milestone
hello everyone, I am not able to initialize the word segmenter using dictionary mode, but using lstm mode it works fine. with dictionary mode it throws me this error
word segmenter init error - Data(DataError { kind: MissingDataKey, key: Some(DataKey{segmenter/dictionary/w_auto@1}), str_context: None, silent: true })
I used this command to generate the provider data
icu4x-datagen --keys all --locales km --format blob --out my_data_blob.postcard --overwrite --trie-type fast
and checking the output withgrep
shows that the dictionary key are therebelow is the
main.rs
andCargo.toml
The text was updated successfully, but these errors were encountered: