[Julius-cvs 276] CVS update: julius4/gramtools/accept_check

Back to archive index

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Œê—ñ‚ÌŽó—/”ñŽó—ƒ`ƒFƒbƒN
+
+ŠT—v
+       accept_check [-t] [-s spname] [-v] {prefix}
+
+DESCRIPTION
+       accept_check ‚́C•¶–@‚Å•¶‚̎󗝁E”ñŽó—‚ð”»’è‚·‚éƒc[ƒ‹‚Å‚·D•¶‚Í•W€
+       “ü—Í‚©‚ç—^‚¦‚Ü‚·DŽó—‚·‚ׂ«•¶‚ðˆês‚¸‚ƒeƒLƒXƒgƒtƒ@ƒCƒ‹‚ɂ܂Ƃ߂ď‘‚¢
+       ‚Ä‚¨‚«C‚»‚ê‚ðaccept_check ‚Ì•W€“ü—Í‚É—^‚¦‚邱‚ƂŁC‚»‚Ì•¶–@
+       (prefix.dfa ‚¨‚æ‚Ñ prefix.dict) ‚É‚¨‚¢‚Ä–Ú“I‚Ì•¶‚ªŽó—‚³‚ê‚é‚©‚Ç‚¤‚©‚ð
+       ƒoƒbƒ`“I‚Ƀ`ƒFƒbƒN‚Å‚«‚Ü‚·D
+
+       ŽÀs‚É‚Í .dfa, .dict, .term ‚ÌŠeƒtƒ@ƒCƒ‹‚ª•K—v‚Å‚·D ‚ ‚ç‚©‚¶‚ß
+       mkdfa.pl ‚Ő¶¬‚µ‚Ä‚¨‚¢‚ĉº‚³‚¢D
+
+       ‘ΏۂƂ·‚镶‚́C•¶–@‚ÌŒêœb’PˆÊ(.voca‚Ì‘æ1ƒtƒB[ƒ‹ƒh)‚Å‹ó”’‚Å‹æØ‚Á‚Ä—^
+       ‚¦‚Ü‚·DÅ‰‚ƍŌã‚É‚Í‘½‚­‚̏ꍇ silB, silE ‚ª•K—v‚Å‚ ‚邱‚Æ‚É‹C‚ð‚‚¯
+       ‚ĉº‚³‚¢D‚Ü‚½C ƒVƒ‡[ƒgƒ|[ƒY’PŒê‚Í•¶‚ÉŠÜ‚ß‚È‚¢‚Å‚­‚¾‚³‚¢D
+
+       “¯ˆê•\‹L‚Ì’PŒê‚ª•¡”‚ ‚éê‡Caccept_check ‚Í‚»‚̉”\‚ȉðŽß‚Ì‘S‚Ä‚Ì‘g
+       ‚ݍ‡‚킹‚ɂ‚¢‚Ä’²‚ׁC‚Ç‚ê‚©‚P‚‚̃pƒ^[ƒ“‚Å‚àŽó—‰Â”\‚Å‚ ‚ê‚Ύ󗝁C‚·
+       ‚ׂẴpƒ^[ƒ“‚Ŏ󗝕s‰Â”\‚Å‚ ‚ê‚Ύ󗝕s‰Â”\‚Æ‚µ‚Ü‚·D
+
+OPTIONS
+        -t
+          ’PŒê‚Å‚Í‚È‚­ƒJƒeƒSƒŠ–¼‚Å“ü—́Eo—Í‚·‚éD
+
+        -s  spname
+          ƒXƒLƒbƒv‚·‚ׂ«ƒVƒ‡[ƒgƒ|[ƒY’PŒê‚Ì–¼‘O‚ðŽw’è‚·‚éD (default: "sp")
+
+        -v
+          ƒfƒoƒbƒOo—́D
+
+EXAMPLES
+       vfr (ƒtƒBƒbƒeƒBƒ“ƒOƒ^ƒXƒN—p•¶–@) ‚Å‚ÌŽÀ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 “ޗǐæ’[‰ÈŠw‹Zp‘åŠw‰@‘åŠw Ž­–쌤‹†Žº
+
+       Copyright (c) 2005-2008 –¼ŒÃ‰®H‹Æ‘åŠw JuliusŠJ”­ƒ`[ƒ€
+
+LICENSE
+       Julius ‚ÌŽg—p‹–‘ø‚ɏ€‚¶‚Ü‚·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)


Julius-cvs メーリングリストの案内
Back to archive index