sumom****@users*****
sumom****@users*****
2008年 10月 2日 (木) 17:23:46 JST
Index: julius4/gramtools/accept_check/00readme-ja.txt diff -u /dev/null julius4/gramtools/accept_check/00readme-ja.txt:1.1 --- /dev/null Thu Oct 2 17:23:46 2008 +++ julius4/gramtools/accept_check/00readme-ja.txt Thu Oct 2 17:23:45 2008 @@ -0,0 +1,79 @@ + accept_check + +ACCEPT_CHECK(1) ACCEPT_CHECK(1) + + + +¼O + accept_check + - ¶@ɨ¯éPêñÌó/ñó`FbN + +Tv + accept_check [-t] [-s spname] [-v] {prefix} + +DESCRIPTION + accept_check ÍC¶@ŶÌóEñóð»è·éc[Å·D¶ÍW + üÍ©ç^¦Ü·Dó·×«¶ðês¸ÂeLXgt@CÉÜÆßÄ¢ + Ĩ«C»êðaccept_check ÌWüÍÉ^¦é±ÆÅC»Ì¶@ + (prefix.dfa ¨æÑ prefix.dict) ɨ¢ÄÚI̶ªó³êé©Ç¤©ð + ob`IÉ`FbNÅ«Ü·D + + ÀsÉÍ .dfa, .dict, .term Ìet@CªKvÅ·D ç©¶ß + mkdfa.pl Ŷ¬µÄ¨¢Äº³¢D + + ÎÛÆ·é¶ÍC¶@ÌêbPÊ(.vocaÌæ1tB[h)ÅóÅæØÁÄ^ + ¦Ü·DÅÆÅãÉͽÌê silB, silE ªKvÅ é±ÆÉCð¯ + ĺ³¢DܽC V[g|[YPêͶÉÜßȢž³¢D + + ¯ê\LÌPꪡ éêCaccept_check Í»ÌÂ\ÈðßÌSÄÌg + Ýí¹É¢IJ×CÇê©PÂÌp^[ÅàóÂ\Å êÎóC· + ×ÄÌp^[ÅósÂ\Å êÎósÂ\ƵܷD + +OPTIONS + -t + PêÅÍÈJeS¼ÅüÍEoÍ·éD + + -s spname + XLbv·×«V[g|[YPê̼Oðwè·éD (default: "sp") + + -v + fobOoÍD + +EXAMPLES + vfr (tBbeBO^XNp¶@) ÅÌÀsáF + + % accept_check vfr + Reading in dictionary...done + Reading in DFA grammar...done + Mapping dict item <-> DFA terminal (category)...done + Reading in term file (optional)...done + 42 categories, 99 words + DFA has 135 nodes and 198 arcs + ----- + please input word sequence>silB É µÄ º³¢ silE + wseq: silB É µÄ º³¢ silE + cate: NS_B COLOR_N (NI|NI_AT) SURU_V KUDASAI_V NS_E + accepted + please input word sequence> + + +SEE ALSO + mkdfa.pl ( 1 ) , + generate ( 1 ) , + nextword ( 1 ) + +COPYRIGHT + Copyright (c) 1991-2008 såw Í´¤º + + Copyright (c) 1997-2000 îñU»Æ¦ï(IPA) + + Copyright (c) 2000-2008 ÞÇæ[ÈwZpåw@åw 줺 + + Copyright (c) 2005-2008 ¼Ã®HÆåw JuliusJ`[ + +LICENSE + Julius ÌgpøɶܷD + + + + 10/02/2008 ACCEPT_CHECK(1) Index: julius4/gramtools/accept_check/00readme.txt diff -u /dev/null julius4/gramtools/accept_check/00readme.txt:1.1 --- /dev/null Thu Oct 2 17:23:46 2008 +++ julius4/gramtools/accept_check/00readme.txt Thu Oct 2 17:23:45 2008 @@ -0,0 +1,80 @@ + accept_check + +ACCEPT_CHECK(1) ACCEPT_CHECK(1) + + + +NAME + accept_check + - Check whether a grammar accept / reject given word sequences + +SYNOPSIS + accept_check [-t] [-s spname] [-v] {prefix} + +DESCRIPTION + accept_check is a tool to check whether a sentence can be accepted or + rejected on a grammar (prefix.dfa and prefix.dict). The sentence should + be given from standard input. You can do a batch check by preparing all + test sentence at each line of a text file, and give it as standard + input of accept_check. + + This tool needs .dfa, .dict and .term files. You should convert a + written grammar file to generate them by mkdfa.pl. + + A sentence should be given as space-separated word sequence. It may be + required to add head / tail silence word like sil, depending on your + grammar. And should not contain a short-pause word. + + When a word belongs to various category in a grammar, accept_check will + check all the possible sentence patterns, and accept it if any of those + is acceptable. + +OPTIONS + -t + Use category name as input instead of word. + + -s spname + Short-pause word name to be skipped. (default: "sp") + + -v + Debug output. + +EXAMPLES + An output for "date" grammar: + + % echo '<s> NEXT SUNDAY </s>' | accept_check date + Reading in dictionary... + 143 words...done + Reading in DFA grammar...done + Mapping dict item <-> DFA terminal (category)...done + Reading in term file (optional)...done + 27 categories, 143 words + DFA has 35 nodes and 71 arcs + ----- + wseq: <s> NEXT SUNDAY </s> + cate: NS_B (NEXT|NEXT) (DAYOFWEEK|DAYOFWEEK|DAY|DAY) NS_E + accepted + + +SEE ALSO + mkdfa.pl ( 1 ) , + generate ( 1 ) , + nextword ( 1 ) + +COPYRIGHT + Copyright (c) 1997-2000 Information-technology Promotion Agency, Japan + + Copyright (c) 1991-2008 Kawahara Lab., Kyoto University + + Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and + Technology + + Copyright (c) 2005-2008 Julius project team, Nagoya Institute of + Technology + +LICENSE + The same as Julius. + + + + 10/02/2008 ACCEPT_CHECK(1)