[Freewnn-users 330] Re: romkan  (Using romkan functions)

Back to archive index
Alex Taylor alex****@altsa*****
2019年 4月 3日 (水) 00:58:13 JST


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
-- 
Alex Taylor <alex****@altsa*****>
http://www.altsan.org



freewnn-users メーリングリストの案内
Back to archive index