You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that the main issue it that the dictionary mecab is using doesn't have many kana only words, so it doesn't know what to do with long strings of kana.
But you can add words to a custom dictionary and have mecab use that in addition to the main dictionary. I do this in beta Jisho to support words from JMdict and Wikipedia.
So if you added しょれ and じゃさしい as words to the dictionary it might be able to understand these sentences. I say might because I haven't tried this with kana only words and sentences.
There's a few quirks to be aware of though. For example, you can't modify a running mecab's dictionary, so you have to build a different filename each time. I use the suffices A and B. You must also specify a PoS that exists in the main dictionary you are building from.
I guess ideally I should clean up the code I have around this and release it, but it'd take a while probably :/
Not sure if this is within the scope of ve but here it goes...
Using:
Case 1
Actual:
Expected:
Case 2
Actual:
Expected:
The text was updated successfully, but these errors were encountered: