Not sure if this is within the scope of ve but here it goes...
Using:
Case 1
Actual:
string = 'しょれでびしょびしょになったー'
words = Ve.in(:ja).words(string).map(&:word)
=> ["し", "ょれでびしょびしょになった", "ー"]
Expected:
=> ["しょれで", "びしょびしょ", "になったー"]
Case 2
Actual:
string = 'じゃさしいもん'
words = Ve.in(:ja).words(string).map(&:word)
=> ["じゃ", "さしい", "もん"]
Expected:
Not sure if this is within the scope of ve but here it goes...
Using:
Case 1
Actual:
Expected:
Case 2
Actual:
Expected: