[Julius-cvs 275] CVS update: julius4/gramtools

アーカイブの一覧に戻る

sumom****@users***** sumom****@users*****
2008年 10月 2日 (木) 17:23:45 JST


Index: julius4/gramtools/00readme-ja.txt
diff -u julius4/gramtools/00readme-ja.txt:1.1.1.1 julius4/gramtools/00readme-ja.txt:1.2
--- julius4/gramtools/00readme-ja.txt:1.1.1.1	Fri Sep 28 11:50:55 2007
+++ julius4/gramtools/00readme-ja.txt	Thu Oct  2 17:23:45 2008
@@ -8,255 +8,5 @@
 gram2sapixml	Julian Œ`Ž®‚Ì•¶–@‚ð SAPI XML •¶–@‚É•ÏŠ·‚·‚éƒXƒNƒŠƒvƒg
 dfa_determinize	DFAŒˆ’艻ƒc[ƒ‹
 
-======================================================================
- ƒRƒ“ƒpƒCƒ‹
-
-eƒfƒBƒŒƒNƒgƒŠ‚Ì Julius ‚ðƒCƒ“ƒXƒg[ƒ‹‚·‚邱‚ƂŁC
-–{ƒc[ƒ‹ŒQ‚àŽ©“®“I‚ɃRƒ“ƒpƒCƒ‹EƒCƒ“ƒXƒg[ƒ‹‚³‚ê‚Ü‚·D
-
-–{ƒc[ƒ‹ŒQ‚Ì‚Ý‚ðƒRƒ“ƒpƒCƒ‹‚·‚éê‡‚Ì•û–@‚ðˆÈ‰º‚Éà–¾‚µ‚Ü‚·D
-ƒRƒ“ƒpƒCƒ‹‚É‚Í Julius ‚̃‰ƒCƒuƒ‰ƒŠ‚̃\[ƒX‚ª•K—v‚Å‚·D
-‰º‹L‚Ìà–¾‚́C–{ƒfƒBƒŒƒNƒgƒŠ‚ª Julius ‚̃\[ƒXƒcƒŠ[‚̉º‚É‚ ‚邱‚Æ‚ð
-‘O’ñ‚Æ‚µ‚Ä‚¢‚Ü‚·D
-
- 0) ƒRƒ“ƒpƒCƒ‹‚¨‚æ‚ÑŽÀs‚ɂ́CˆÈ‰º‚̃c[ƒ‹‚ƃ‰ƒCƒuƒ‰ƒŠ‚ª•K—v‚Å‚·D
-
-	Eperl (ver.5)
-	EGNU bison
-	EGNU flex
-	EGNU readline ƒ‰ƒCƒuƒ‰ƒŠ
-	Eiconv
-	Eperl ‚Ì Jcodeƒ‚ƒWƒ…[ƒ‹
-
- 1) eƒfƒBƒŒƒNƒgƒŠ‚Å julius ‚ðƒRƒ“ƒpƒCƒ‹‚·‚é
-    iƒCƒ“ƒXƒg[ƒ‹‚Í‚µ‚È‚­‚Ä‚æ‚¢j
-
-	% cd ..
-	% ./configure
-	% make
-	% cd gramtools
-
- 2) –{ƒfƒBƒŒƒNƒgƒŠ‚Å configure ‚Æ make ‚ðŽÀs‚·‚éD
-
-	% ./configure
-	% make
-
- 4) o—ˆã‚ª‚Á‚½ŽÀsƒoƒCƒiƒŠ‚ð "make install" ‚Å /usr/local/bin ‚É
-    ƒCƒ“ƒXƒg[ƒ‹‚·‚éD
-
-	% make install
-
-
-
-======================================================================
-======================================================================
-======================================================================
-ˆÈ‰º‚̓}ƒjƒ…ƒAƒ‹‚Å‚·D
-
-
-======================================================================
-  mkdfa.pl --- •¶–@ƒRƒ“ƒpƒCƒ‰
-
-  mkdfa.pl ‚Í Julian —p‚Ì•¶–@ƒRƒ“ƒpƒCƒ‰‚Å‚·D‹Lq‚³‚ꂽ•¶–@ƒtƒ@ƒCƒ‹.
-grammar ‚ÆŒêœbƒtƒ@ƒCƒ‹ .voca ‚©‚ç Julian—p‚Ì DFA ‚Æ”FŽ¯Ž«‘‚𐶐¬‚µ‚Ü‚·D
-
-  —^‚¦‚镶–@‚͐³‹K•¶–@‚̃Nƒ‰ƒX‚Å‚ ‚邱‚Æ‚ª•K—v‚Å‚·D
-  ƒtƒH[ƒ}ƒbƒg‚̏ڍׂ͕ʓrƒhƒLƒ…ƒƒ“ƒg‚ð‚²——‰º‚³‚¢D
-
-  mkdfa.pl‚ÌŽg‚¢•û‚́CˆÈ‰º‚̂悤‚É .grammar ‚¨‚æ‚Ñ .vocaƒtƒ@ƒCƒ‹‚̃vƒŒ
-ƒtƒBƒbƒNƒX‚ðˆø”‚Æ‚µ‚Ä—^‚¦‚Ü‚·D¶¬‚³‚ꂽŠeƒtƒ@ƒCƒ‹‚́Cã‹Lƒtƒ@ƒCƒ‹‚Æ
-“¯‚¶ƒfƒBƒŒƒNƒgƒŠ‚ÉŠi”[‚³‚ê‚Ü‚·D
-
-------------------------------------------------------------
-    ŽÀs—áF../sample_grammars/vfr/vfr.{grammar,voca}‚ɑ΂µ‚Ä
-
-        % mkdfa.pl ../sample_grammars/vfr/vfr
-
-    ‚Æ‚·‚é‚Æ ../sample_grammars/vfr/vfr.{dfa,dict,term} ‚ª¶¬‚³‚ê‚éD
-------------------------------------------------------------
-
-  “à•”‚ł́C“ǂݍž‚ñ‚¾•¶–@’è‹`‚©‚çNFA‚𐶐¬‚µC‚»‚ê‚ðDFA‚É•ÏŠ·‚·‚é‚Æ‚Æ
-‚à‚ɍŏ¬‰»‚ðs‚È‚¢‚Ü‚·D.dfa ƒtƒ@ƒCƒ‹‚ɂ̓JƒeƒSƒŠ’PˆÊ‚̍\•¶‹K‘¥‚ªC.
-dict ƒtƒ@ƒCƒ‹‚ɂ̓JƒeƒSƒŠ‚²‚Æ‚Ì“o˜^Œêœb‚Æ‚»‚Ì”­‰¹‚ÌŽ«‘‚ª¶¬‚³‚ê‚Ü‚·D
-
-  ¶¬‚³‚ꂽ .dfa ƒtƒ@ƒCƒ‹‚Å‚Í“ü—̓Vƒ“ƒ{ƒ‹‚̓JƒeƒSƒŠ‚ÌID‚Æ‚È‚è‚Ü‚·D
-ƒJƒeƒSƒŠID‚Æ .grammar “à‚ł̃JƒeƒSƒŠ–¼‚̑Ήž‚̓Rƒ“ƒpƒCƒ‹Žž‚É .term ƒtƒ@
-ƒCƒ‹‚ɏ‘‚«o‚³‚ê‚Ü‚·D‚±‚̃tƒ@ƒCƒ‹‚Í generate ‚â nextword ‚È‚Ç‚ÅŽg—p‚³
-‚ê‚Ü‚·‚̂ŁCŽc‚µ‚Ä‚¨‚¢‚ĉº‚³‚¢D
-
-  mkdfa ‚ÌŽÀ‘̂́CƒRƒ“ƒpƒCƒ‰–{‘Ì‚Ì mkfaC‚¨‚æ‚ÑŽÀsƒXƒNƒŠƒvƒg mkdfa.pl
-‚Ì‚Q‚‚̃vƒƒOƒ‰ƒ€‚©‚ç‚È‚è‚Ü‚·D’ʏí‚Í mkdfa.pl ‚©‚ç‹N“®‚µ‚Ä‚­‚¾‚³‚¢D
-
-  Še“ü—́Eo—̓tƒ@ƒCƒ‹‚ÌŒ`Ž®‚̏ڍׂɂ‚¢‚ẮC•ÊŽ†‚ðŽQÆ‚µ‚ĉº‚³‚¢D
-
-
-======================================================================
-  dfa_minimize --- DFAÅ¬‰»ƒc[ƒ‹
-
-  DFA ‚ð—LŒÀƒI[ƒgƒ}ƒgƒ“‚̍ŏ¬‰»ƒAƒ‹ƒSƒŠƒYƒ€‚ɏ]‚Á‚āC
-“™‰¿‚ȍŏ¬‰»‚ÌDFA‚É•ÏŠ·‚µ‚Ü‚·D
-
-‚±‚̃c[ƒ‹‚Í mkdfa.pl ‚Å DFA ‚𐶐¬‚·‚éÛ‚ÉŽ©“®“I‚ɌĂяo‚³‚ê‚Ü‚·D
-Šù‘¶‚Ì DFA ‚ðÅ¬‰»‚̂ݍs‚¤ê‡‚͉º‹L‚Ì—v—Ì‚ÅŽg‚Á‚Ä‚­‚¾‚³‚¢D
-
-  ƒRƒ}ƒ“ƒhƒ‰ƒCƒ“‚Å“ü—Í‚Æ‚·‚éDFA‚̃tƒ@ƒCƒ‹–¼‚ðŽw’肵‚Ü‚·DŽw’肪‚È‚¢
-ê‡‚Í•W€“ü—Í‚©‚ç“ǂݍž‚Ý‚Ü‚·D‚Ü‚½Co—Í‚·‚éDFAƒtƒ@ƒCƒ‹‚ð
-"-o ƒtƒ@ƒCƒ‹–¼" ‚ÅŽw’è‚Å‚«‚Ü‚·DŽw’肪‚È‚¢ê‡‚Í•W€o—͂֏o—Í‚µ‚Ü‚·D
-------------------------------------------------------------
-    Žg—p—á1: 
-
-        % dfa_minimize vfr.dfa -o vfr-min.dfa
-
-    Žg—p—á2: 
-
-        % cat vfr.dfa | dfa_minimize > vfr-min.dfa
-
-------------------------------------------------------------
-
-
-======================================================================
-  generate --- •¶ƒ‰ƒ“ƒ_ƒ€¶¬ƒc[ƒ‹
-
-  •¶–@‚ɏ]‚Á‚Ä•¶‚ðƒ‰ƒ“ƒ_ƒ€‚ɐ¶¬‚µ‚Ü‚·D”ñ•¶‚𐶐¬iŽó—j‚µ‚È‚¢‚©ƒ`ƒFƒb
-ƒN‚·‚邱‚Æ‚ª‚Å‚«‚Ü‚·D
-
-  ŽÀs‚É‚Í .dfa, .dict, .term ‚ª•K—v‚Å‚·D‚ ‚ç‚©‚¶‚ß mkdfa.pl ‚Å
-¶¬‚µ‚Ä‚¨‚¢‚ĉº‚³‚¢D
-
------ ŽÀs—á -------------------------------------------
-    % bin/generate ../sample_grammars/vfr/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
-    ----- 
-     silB ‚â‚ß‚Ü‚· silE
-     silB I—¹‚µ‚Ü‚· silE
-     silB ƒVƒƒƒc ‚ð ƒX[ƒc ‚Æ “ˆê‚µ‚Ä ‰º‚³‚¢ silE
-     silB ƒX[ƒc ‚ð ƒJƒbƒ^[ ‚Æ “¯‚¶ F ‚É “ˆê‚µ‚Ä ‰º‚³‚¢ silE
-     silB ŒðŠ·‚µ‚Ä ‰º‚³‚¢ silE
-     silB ‚±‚ê ‚ð Šo‚¦‚Ä‚¨‚¢‚Ä ‰º‚³‚¢ silE
-     silB Šo‚¦‚Ä‚¨‚¢‚Ä ‰º‚³‚¢ silE
-     silB –ß‚Á‚Ä ‰º‚³‚¢ silE
-     silB ƒX[ƒc ‚ð ƒVƒƒƒc ‚Æ “ˆê‚µ‚Ä ‰º‚³‚¢ silE
-     silB ã’… ‚ð žò ‚É ‚µ‚Ä ‰º‚³‚¢ silE
-    %
---------------------------------------------------------
-ƒIƒvƒVƒ‡ƒ“ "-n num" ‚ŁC¶¬‚·‚镶”‚ðŽw’è‚Å‚«‚Ü‚·DƒfƒtƒHƒ‹ƒg‚Í10‚Å‚·D
-ƒIƒvƒVƒ‡ƒ“ "-t" ‚Å’PŒê‚Ì‘ã‚í‚è‚ɃJƒeƒSƒŠ–¼‚ŏo—Í‚µ‚Ü‚· (.term‘¶ÝŽž)D
-
-
-======================================================================
-  accept_check  --- ’PŒê—ñ‚ÌŽó—/”ñŽó—ƒ`ƒFƒbƒNƒc[ƒ‹
-
-  •¶‚̎󗝁^”ñŽó—‚ð”»’è‚·‚éƒc[ƒ‹‚Å‚·D•¶‚Í•W€“ü—Í‚©‚番‚©‚¿‘‚«‚³‚ê
-‚½’PŒê—ñ‚Æ‚µ‚Ä—^‚¦‚é•K—v‚ª‚ ‚è‚Ü‚·DŽg—p‚·‚镶–@‚Í•¶–@‚ÍŽ–‘O‚É mkdfa.pl
-‚É‚©‚¯‚Ä .dfa, .dict, .term ‚𐶐¬‚µ‚Ä‚¨‚¢‚ĉº‚³‚¢D
-
-  ƒJƒo[‚µ‚½‚¢transcription‚ðCƒtƒ@ƒCƒ‹‚ɂ܂Ƃ߂ď‘‚¢‚Ä‚¨‚¢‚āC‚»‚ê‚ð
-accept_check ‚Ì•W€“ü—Í‚É—^‚¦‚邱‚ƂŁC–Ú“I‚Ì•¶‚ªŽó—‰Â”\‚©‚Ç‚¤‚©‚ð
-ƒoƒbƒ`“I‚Ƀ`ƒFƒbƒN‚Å‚«‚Ü‚·D
-
-  mkdfa.pl‚Æ“¯‚¶‚­ƒvƒŒƒtƒBƒbƒNƒX‚ðƒRƒ}ƒ“ƒhˆø”‚Æ‚µ‚Ä—^‚¦‚Ä‹N“®‚µ‚Ü‚·D
-.dfa, .dict, .termƒtƒ@ƒCƒ‹‚ð“Ç‚Ý‚±‚ñ‚¾ŒãC—^‚¦‚ç‚ꂽtranscript‚ɑ΂µ‚Ä
-    E“ü—Í‚³‚ꂽtranscriptiŠm”F‚Ì‚½‚߁j
-    Eã‹L‚ðC‚»‚Ì’PŒê‚Ì‘®‚·‚éƒJƒeƒSƒŠ–¼‚É•ÏŠ·‚µ‚½‚à‚Ì
-    Eaccepted / rejected
-‚ðo—Í‚µ‚Ü‚·D
-
-  transcript‚Í’PŒê‚̏o—Í•¶Žš—ñ(.voca‚Ì‘æ1ƒtƒB[ƒ‹ƒh)‚ð‹ó”’‚Å‹æØ‚Á‚Ä—^
-‚¦‚Ü‚·DÅ‰‚ƍŌã‚É‚Í‘½‚­‚̏ꍇ silB, silE ‚ª•K—v‚Å‚ ‚邱‚Æ‚É‹C‚ð‚‚¯
-‚ĉº‚³‚¢D‚Ü‚½•¶’†‚Ì sp ‚Ítranscript‚ÉŠÜ‚ß‚È‚¢‚Å‚­‚¾‚³‚¢D‚Ü‚½C“ú–{Œê
-‚Åtranscript‚ð—^‚¦‚éê‡‚́C.voca‚Æ“¯‚¶Š¿ŽšƒR[ƒh‚Å—^‚¦‚È‚¯‚ê‚΂¢‚¯‚È
-‚¢“_‚É‚à’ˆÓ‚µ‚Ä‚­‚¾‚³‚¢D
-
----- ŽÀs—á ---------------------------------------------
-    % bin/accept_check ../sample_grammars/vfr/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>
----------------------------------------------------------
-
-Œêœb’†‚É“¯ˆê•\‹L‚Ì’PŒê‚ª•¡”‘¶Ý‚µƒJƒeƒSƒŠ‚̉ðŽß‚ÉžB–†«‚ª‚ ‚éê‡C
-accept_check‚͉”\‚È‘S‚Ä‚Ì‘g‚ݍ‡‚킹‚ðŽŽ‚µ‚Ü‚·(ã‹LŽÀs—á‚́u‚Ɂv)D
-
-‚È‚¨C‹N“®Žž‚É "-t" ƒIƒvƒVƒ‡ƒ“‚ð‚‚¯‚é‚ƁC’PŒê–¼‚Å‚È‚­ƒJƒeƒSƒŠ–¼‚ðŽó‚¯
-•t‚¯‚é‚悤‚É‚È‚è‚Ü‚·D‚±‚̏ꍇCŠeƒJƒeƒSƒŠ‚̍ŏ‰‚Ì’PŒê‚ªƒJƒeƒSƒŠ‚ð‘ã•\
-‚·‚é’PŒê‚Æ‚µ‚Ä‘I‘ð‚³‚ê‚Ü‚·D
-
-
-======================================================================
-  nextword --- ŽŸ’PŒê—\‘ªƒ`ƒFƒbƒNƒc[ƒ‹iaccept_check‚̍‚‹@”\”Łj
-
-  —^‚¦‚ç‚ꂽ•”•ª•¶‚ɑ΂µ‚āC•¶–@ãÚ‘±‚µ‚¤‚鎟’PŒê‚̏W‡‚ðo—Í‚µ‚Ü‚·D
-
-  •”•ª•¶“ü—͂ł̓qƒXƒgƒŠŽQÆ‚â’PŒê–¼/ƒJƒeƒSƒŠ–¼‚̕⊮‚ªs‚¦‚Ü‚·D
-
-  •¶–@‚ÍŽ–‘O‚É mkdfa.pl ‚É‚©‚¯‚Ä .dfa, .dict, .term ‚𐶐¬‚µ‚Ä‚¨‚¢‚ĉº‚³‚¢D
-
-  I’ˆÓI •”•ª•¶‚Í‹tŒü‚«(right-to-left)‚É“ü‚ê‚é•K—v‚ª‚ ‚è‚Ü‚·D‚±‚ê‚Í
-Julian ‚ª‘æ2ƒpƒX‚Å‚Í•¶Í‚Ì––”ö‚©‚çæ“ª‚ÉŒü‚©‚Á‚Ä’Tõ‚ðs‚¤‚½‚߁C’PŒê—\
-‘ª‚à‚»‚Ì•ûŒü‚ōs‚¤•K—v‚ª‚ ‚é‚©‚ç‚Å‚·D
-
----- ŽÀs—á ---------------------------------------------
-    % bin/nextword ../sample_grammars/vfr/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
-    ----- 
-    wseq > ‚É ‚µ‚Ä ‰º‚³‚¢ silE				<-- “ü—Í
-    [wseq: ‚É ‚µ‚Ä ‰º‚³‚¢ silE]
-    [cate: (NI|NI_AT) SURU_V KUDASAI_V NS_E]
-    PREDICTED CATEGORIES/WORDS:
-                KEIDOU_A (”hŽè ’n–¡ )
-                BANGOU_N (”Ô )
-                  HUKU_N (•ž •ž‘• •ž‘• )
-               PATTERN_N (ƒ`ƒFƒbƒN cŽÈ ‰¡ŽÈ ...)
-                  GARA_N (•¿ )
-                 KANZI_N (Š´‚¶ )
-                   IRO_N (F )
-                 COLOR_N (Ô žò ‰© ...)
-    wseq >
---------------------------------------------------------
-
-transcript“ü—ÍŽž‚ɂ́C’ʏí‚Ìemacs•—‚̍s•ÒW‘€ì‚ɉÁ‚¦‚āC
-ˆÈ‰º‚̃L[‚ªŽg—p‚Å‚«‚Ü‚·D
-
-	TAB		’PŒê–¼‚̕⊮D"-t"‚Å‹N“®Žž‚̓JƒeƒSƒŠ–¼‚̕⊮D
-			‰½‰ñ‚©‰Ÿ‚·‚ÆŒó•âˆê——‚ð•\Ž¦D
-	Ctrl-L		•âŠ®Œó•â‚̏‡ŽŸ‘}“ü(‰Ÿ‚·‚½‚тɐ؂è‘Ö‚í‚é)D
-	Ctrl-PCCtrl-N	ƒqƒXƒgƒŠŽQÆD
-
-‚±‚Ì‘¼‚Ì‘€ì‚ɂ‚¢‚Ä‚Í readline ƒ‰ƒCƒuƒ‰ƒŠ‚̃hƒLƒ…ƒƒ“ƒg‚ðŽQÆ‚µ‚Ä‚­‚¾‚³‚¢D
-
-======================================================================
-  gram2sapixml	--- Julian Œ`Ž®‚Ì•¶–@‚ð SAPI XML •¶–@‚É•ÏŠ·‚·‚éƒXƒNƒŠƒvƒg
-
-gram2sapixml/gram2sapixml.txt ‚ð‚²——‚­‚¾‚³‚¢D
-
-======================================================================
-  dfa_determinize --- DFA ‚ðŒˆ’è‚·‚éƒc[ƒ‹
-
-‚±‚̃c[ƒ‹‚Í—LŒÀƒI[ƒgƒ}ƒgƒ“‚ÌŒˆ’艻ƒAƒ‹ƒSƒŠƒYƒ€‚ɏ]‚¢C
-”ñŒˆ’è“I‚È‘JˆÚ‚Ì‚ ‚éDFA‚ðŒˆ’è‰»‚µ‚Ü‚·D
-
-mkdfa.pl ‚ÍŠù‚ÉŒˆ’艻‚³‚ꂽ DFA ‚ðo—Í‚·‚é‚̂ŁC’ʏ킱‚̃c[ƒ‹‚Í
-—p‚¢‚ç‚ê‚Ü‚¹‚ñD‚±‚ê‚Í‘¼‚̃tƒH[ƒ}ƒbƒg‚©‚ç DFA ‚É•ÏŠ·‚·‚éê‡‚È‚Ç‚É
-—p‚¢‚邱‚Æ‚ª‚Å‚«‚Ü‚·D
-
-
-								ˆÈã
+‚»‚ꂼ‚ê‚̃}ƒjƒ…ƒAƒ‹‚́CƒIƒ“ƒ‰ƒCƒ“ƒ}ƒjƒ…ƒAƒ‹‚ ‚é‚¢‚Í
+ŠeƒfƒBƒŒƒNƒgƒŠ‚É‚ ‚é 00readme-ja.txt ‚ð‚²——‚­‚¾‚³‚¢D
Index: julius4/gramtools/00readme.txt
diff -u julius4/gramtools/00readme.txt:1.1.1.1 julius4/gramtools/00readme.txt:1.2
--- julius4/gramtools/00readme.txt:1.1.1.1	Fri Sep 28 11:50:55 2007
+++ julius4/gramtools/00readme.txt	Thu Oct  2 17:23:45 2008
@@ -9,194 +9,8 @@
   gram2sapixml	    perl script to convert Julian grammar to SAPI XML format
   dfa_determinize   DFA determinizer
 
-To know how to write a grammar for Julian and about the file formats,
-please see Grammar.txt for details.
+Please see online manual or "00readme.txt" file under each directory.
+Other document in Juliusbook or on the Web site will also helps you.
 
-======================================================================
-How to compile
+   http://julius.sourceforge.jp/en/
 
-These tools are distributed as part of Julius.  Compiling Julius from
-the parent directory also compile these tools and install them.
-
-The below tools and libraries are needed to compile and run these tools.
-
-	- perl (ver.5 and later)
-	- GNU bison
-	- GNU flex
-	- iconv
-	- Jcode.pm (only for gram2sapixml for Japanese code conversion)
-
-======================================================================
-======================================================================
-   Manuals
-======================================================================
-======================================================================
-
-======================================================================
-mkdfa.pl --- Grammar compiler
-
-  mkdfa.pl compiles the Julian format grammar (.grammar and
-  .voca) to Julian native formats (.dfa and .dict).
-
-  Assume the .grammar file and .voca file has the same prefix
-  (i.e. "foo.grammar" and "foo.voca"), mkdfa.pl compiles them to the
-  Julian native format in the way below:
-
-  ----------------------------------------------------
-  % mkdfa.pl foo
-  ----------------------------------------------------
-  Then it generates files "foo.dfa" and "foo.dict" in the same
-  directory.  It also generates terminal symbol information in
-  "foo.term" that can be used other grammar tools.
-
-  The mkdfa.pl is a script to spawn the core compile "mkfa", so you
-  need "mkfa" at the same directory of "mkdfa.pl".
-
-
-======================================================================
-dfa_minimize --- minimize DFA grammar
-
-  This tool will compress the DFA grammar to its equivalent minimal
-  form.
-
-  dfa_minimize will be automatically used at when generating DFA in
-  mkdfa.pl.  You can still use it separatedly from mkdfa.pl as
-  described to minimize existing DFAs.
-
-  When invoked from command line, input filename can be specified.
-  if not specified, dfa_minimize will try to read DFA from standard
-  input.  Also, output filename can be specified with "-o filename".
-  If not specified, it will output the result to standard output.
-
-------------------------------------------------------------
-    ex.1:  % dfa_minimize vfr.dfa -o vfr-min.dfa
-
-    ex.2:  % cat vfr.dfa | dfa_minimize > vfr-min.dfa
-------------------------------------------------------------
-
-
-======================================================================
-generate --- Randam sentence generator
-
-  This small program randomly generates sentences that are acceptable
-  by the given grammar.  It can be used to check coverage of a
-  grammar in a human basis, by looking up if it may generate
-  non-acceptable sentences.
-
-  .dfa, .dict and .term files are needed to execute.  They can be
-  generated from .grammar and .voca file by mkdfa.pl.
-
-  Options: 
-	"-n num" specifies the number of sentence to be generated
-		 (default: 10)
-	"-t"	 output in terminal name rather than word name (needs
-		.term file)
-
-  ----- Example ------------------------------------------------
-
-    % generate ../sample_grammars/vfr/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
-    ----- 
-    (sentences will be generated here...)
-
-  --------------------------------------------------------------
-
-======================================================================
-accept_check  --- Check acception or rejection of sentences
-
-  "accept_check" is a tool to check whether a sentence (word sequence) is
-  acceptable on the given grammar.  Given a grammar, each input from
-  the standard input is parsed line by line and output whether they
-  are acceptable or not.
-
-  .dfa, .dict and .term files are needed to execute.  They will be
-  generated from .grammar and .voca file by mkdfa.pl.
-
-  Usage: the grammar should be specified as the same style as
-  mkdfa.pl, i.e., the prefix of .dfa, .dict and .term should be
-  specified.  See the examples below.
-
----- Example ---------------------------------------------
-    % bin/accept_check ../sample_grammars/vfr/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 hello silE              <-- input
-    wseq: silB hello silE
-    cate: NS_B GREETING NS_E
-    accepted
-    please input word sequence>
----------------------------------------------------------
-
-  Input sentence should be a sequence of space-saprated words.  The
-  short pause model (pronunciation given as "sp") in grammar will be
-  treated specially to allow skip. 
-
-  If there are several words in dictionary that matches the given
-  word, all the possible combination will be tried to check acceptability.
-
-  Specifying "-t" option at startup time will enable category label as
-  an input.
-
-
-======================================================================
-nextword --- display next predicted words
-
-  Given a partial (part of) sentence from the end, it outputs
-  the next words allowed in the specified grammar.
-
-  .dfa, .dict and .term files are needed to execute.  They will be
-  generated from .grammar and .voca file by mkdfa.pl.
-
-  !NOTE! The sentence should be specified from the END OF SENTENCE,
-	 because Julian does right-to-left parsing.
-
----- Example ---------------------------------------------
-    % bin/nextword ../sample_grammars/vfr/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
-    ----- 
-    wseq > afternoon silE				<-- input
-    [wseq: afternoon silE]
-    [cate: AFTERNOON NS_E]
-    PREDICTED CATEGORIES/WORDS:
-                NS_B (silB)
-                GOOD (good)
-    wseq >
---------------------------------------------------------
-
-  You can use completion and history for wseq input, which is a
-  function of GNU readline library.  The important keys are:
-
-	TAB		completion of dictionary word.  When invoking
-			with "-t" option, completion will be category name.
-	Ctrl-P, Ctrl-N	history up/down.
-
-======================================================================
-gram2sapixml	--- perl script to convert Julian grammar to SAPI XML format
-
-See gram2sapixml/gram2sapixml.txt for detail.
-
-======================================================================
-dfa_determinize --- DFA determinizer
-
-  This tool will determinize the DFA grammar.
-
-  This tools is not used for normal use of DFA, since mkdfa.pl will
-  generate already determinized DFA.  This program can be used for
-  conversion from other formats.
-
-*** END OF DOCUMENT


Julius-cvs メーリングリストの案内
アーカイブの一覧に戻る