Dear Alex, I believe you found the solution to your problem. (It is just that this particular e-mail got mangled from the viewpoint of code system, and so I could not understand exactly how the string was split into bunsetsu's.) Anyway, nice to know that you have made a progress. Chiaki On 2019/04/03 0:58, Alex Taylor wrote: > On Tue, 02 Apr 2019 11:38:17 -0400 (EDT) Alex Taylor wrote: >> Unfortunately, so far I don't know how to split the sentence up into >> individual word phrases automatically. Maybe I will have to require the >> user to just highlight the portion they want to convert, themselves... >> >> Hmm... actually, maybe I could call jl_ren_conv() first, then identify >> all the pieces (among the candidates) which are different, using string >> parsing. That might work... > Ah! I had a eureka right after typing that. > > It seems I have to call jl_ren_conv() _first_. Then I can call > bun = jl_bun_suu(bdata) > and FreeWnn has split the sentence for me! (Before I was trying to > use jl_bun_suu() by itself, or after calling jl_tan_conv, which didn't > do anything.) > > Result: > > 3 phrases found. > A) 遘√� > B) 蜷榊燕縺ッ > C) 荳ュ驥弱〒縺吶� > > 遘√�蜷榊燕縺ッ荳ュ驥弱〒縺吶� > 1) 繧上◆縺励�蜷榊燕縺ッ荳ュ驥弱〒縺吶� > 2) 貂。縺励�蜷榊燕縺ッ荳ュ驥弱〒縺吶� > 3) 貂。縺励�蜷榊燕縺ッ荳ュ驥弱〒縺吶� > 4) 繝ッ繧ソ繧キ縺ョ蜷榊燕縺ッ荳ュ驥弱〒縺吶� > 5) 繝ッ繧ソ繧キ繝主錐蜑阪�荳ュ驥弱〒縺吶� > 6) 繧上◆縺励�蜷榊燕縺ッ荳ュ驥弱〒縺吶� > 7) 遘√�蜷榊燕縺ッ荳ュ驥弱〒縺吶� > > > So I should be able to let the user select A, B, or C... then decompose > and pass to jl_tan_conv(). > > Alex > > _______________________________________________ > freewnn-users mailing list > freew****@lists***** > https://lists.osdn.me/mailman/listinfo/freewnn-users