;
; Configuration file of IPADIC
;
; $Id: dicrc.in,v 1.16 2004/06/21 09:34:35 taku-ku Exp $;
;
language = Japanese
pos-size = 7
charset = euc

default-connection-cost = 10000
unk-pos-cost = 30000
unk-pos     = 名詞,サ変接続,*,*,*,*,*
unk-feature = 未知語,*,*,*,*,*,*,*,*
bos-pos     = 文頭,*,*,*,*,*,*
bos-feature = BOS/EOS,*,*,*,*,*,*,*,*
eos-pos     = 文末,*,*,*,*,*,*
eos-feature = BOS/EOS,*,*,*,*,*,*,*,*

; yomi
node-format-yomi = %pS%f[7]
unk-format-yomi = %M
eos-format-yomi  = \n

; simple
node-format-simple = %m\t%F-[0,1,2,3]\n
eos-format-simple  = EOS\n

; ChaSen
node-format-chasen = %m\t%f[7]\t%f[6]\t%F-[0,1,2,3]\t%f[4]\t%f[5]\n
unk-format-chasen  = %m\t%m\t%m\t%F-[0,1,2,3]\t\t\n
eos-format-chasen  = EOS\n

; ChaSen (include spaces)
node-format-chasen2 = %M\t%f[7]\t%f[6]\t%F-[0,1,2,3]\t%f[4]\t%f[5]\n
unk-format-chasen2  = %M\t%m\t%m\t%F-[0,1,2,3]\t\t\n
eos-format-chasen2  = EOS\n

; XML
bos-format-xml  = <sen input="%S" len="%L">\n
node-format-xml = \s\s<token pos="%F-[0,1,2,3]" base="%f[6]" cfrom="%f[4]" ctype="%f[5]" read="%f[7]" pron="%f[8]">%m</token>\n
eos-format-xml  = </sen>\n

; csv
;bos-format-csv  = 
node-format-csv = %m,%f[7],%f[8],%f[6],%F-[0,1,2,3],%f[4],%f[5]\n
unk-format-csv  = %m,%m,%m,%f[6],%F-[0,1,2,3],,\n
eos-format-csv  = EOS,,,,,,\n

; S 
bos-format-s  = (sentence \n
node-format-s = \s\s(token\n   (morph "%m")\n    (pos "%F-[0,1,2,3]")\n    (base "%f[6]")\n    (cfrom "%f[4]")\n    (ctype "%f[5]")\n    (read "%f[7]")\n    (pron "%f[8]"))\n
eos-format-s  = )\n

; Visual Morphs
;bos-format-vm  = %pb%pi %ps %pe %pc %m\t%f[8]\t%f[8]\t%f[6]\t%F-[0,1,2,3] NIL 0 0 0 %c %ppi, %ppc,\n
;eos-format-vm = %pb%pi %ps %pe %pc %m\t%f[8]\t%f[8]\t%f[6]\t%F-[0,1,2,3] NIL 0 0 0 %c %ppi, %ppc,\nEOS\n
;node-format-vm = %pb%pi %ps %pe %pc %m\t%f[8]\t%f[8]\t%f[6]\t%F-[0,1,2,3] NIL 0 0 0 %c %ppi, %ppc,\n
