yXVz3/28
G-HAL ɽð¸ï¿½ï¿½½ÌÅ(��Âà�N��bÉÈèÜ·c)AÀsÉwKð©çÃ��útGgðí·éæ¤ÎµÄÝܵ½B
©ÈÓCÅǤ¼B
datedic.t ðXVµ½ãAtext Ì last-record* ©çútGg(u«å¤?vÆ©u�}Ƶ?vÆ©)ÌsðíA»ÌãAoCiÌ last-record*.bin ðíµÜ·B
euc Ìêàl��µ½ÂàèÅ·ªAutf-8(last-record*.utf8)Æ euc Ìðt@Cªï¿½ï¿½ÝµÄ��éP[XÍl��µÄܹñ(ÊAÈ��ŷæË?)
ÜAìÒªìÒÈÌÅAêAÀs·éOÉ ~/.anthy/ ðobNAbvµÄ�N�}Æð�N©ßµÜ·B
êA1��㾯obNAbvæéæ¤ÉµÄÍ èÜ·ªB
¦ÈºÌ{��àá�}ÏXµÜµ½B
P.S. u¾â�LvÍu¾âcqvÆÆàÉo^³¹Ä¸«Üµ½B èªÆ¤²ï¿½L��ܷBrepo öJõªÅ«éÜÅिåÁÆ�NÒ¿ðB�}�} 2ÙÇi��µÄéñÅ·ªAÈ©È©ÜÆÜçñcBÅཪष®
yXVz3/29
ÂÜçÈ��~XðµÄRPĽÌÅC³µÜµ½B
yXVz3/31
NH[gð~XÁÄ��ÄAPcÌ��ÌÈ��u«å¤vâu«Ì¤vàðt@C©çí³êĵÜÁÄ��½ÌðC³µÜµ½BmFµ½Í¸¾Á½ñÅ·ªcB·ÝܹñcB
Â��ÅÉAðt@Cª EUCA©ÂAruby1.9 ðgÁ½êÉGR[fBOªï¿½N©µÈéÌàC³B
yXVz4/27
}WbNRgÍ "encoding" Æ��¤ï¿½ï¿½ñðL[ɵÄéñ¾©çA"fenc" ÅÍ_Èñ¾æËAÆ��¤óÅC³B
e¿ª éÌÍ ruby1.9 nÌÝÅ·B
-----
ÂlIÉÍÁÉ~µï¿½ï¿½@\ÅàÈ��ñÅ·ªAuêoÈÍÈ��vÌÉuoÈ��vÆvíêÄéæ¤ÈÌÅAruby Ì�~ªÄçìÁÄÝܵ½B
datedic.rb.bz2 yXVz4/27
ƵÄWJµÄÀs Àt¯ÄÀs·éÆA
~/.anthy/imported_words_default.d/datedic.t
Æ��¤«ªì��³êÜ·(~/.anthy/imported_words_default.d/ ªÈ��êÍì��µÜ·)B
»ÌÜÜAu«å¤?vÆAÇÝÌPcÉ "?" ðt¯ÄÏ··éÆAu2010/3/23vâu½ï¿½ï¿½22N323úvÉÏ·Å«Ü·B
(æÍAu-fvIvVÅSpÌóâÍo³È��æ¤Éµ½àÌ)
ãÍAu$ crontab -evµÄ©ªÌ crontab É
@daily /path/to/datedic.rbƩ��Ä�N¯ÎXµï¿½ï¿½©ÆB
@reboot /path/to/datedic.rb
(u/path/to/datedic.rbvÍudatedic.rb ÌâÎpXvÅ·Bá¦Îu/home/vagus/bin/datedic.rbvÆ©B)
(u@dailyvÍuú00ªÉÀsvB�}꾯¾ÆA00ªÉ}VªN®µÄ��ȩÁ½êÉÍ«ªXV³êÈ��ÌÅAu@rebootvÅN®ÉàÀs·éæ¤É·éB
¦½¾A»ÌÔÉX[v¾Á½êÉÍǤµæ¤àÈ��ÌÅA»ÌêÍè®ÅÀs·éKvª èÜ·B)
[IvV]
-c "char" : ÇÝÌPcÉt¯é��(ê��Àè)ð char ÉÏXBftHg: "?"
-h : ¼pÌóâð}��
-f : SpÌóâð}��
-w : júÌóâð}��
-q "N" : pxÌîlð N ÉÏXBftHg: 200
[Ï·Å«éÇÝ]
�}Ƶ
«åËñ
�NÆƵ
ç��Ëñ
³ç��Ëñ
�}ñ��Â
¹ñ��Â
¹ñ¹ñ��Â
ç����Â
³ç����Â
«å¤
«Ì¤
�NÆÆ��
³«ï¿½NÆÆ��
µ½
³ÁÄ
µ ³ÁÄ
yÇLz
ÓÆvÁ½B
á¦Î¡úAu«å¤?v�Nu2010N323úvðmèµ½êAwKªLøÉÈÁÄ��éÆu2010N323úvðo¦¿áÁÄAÌú(3/24)Éu«å¤?vðÏ·µ½êÉu2010N323úvªï¿½ï¿½ï¿½LÁ¿áÁ½è·éñ¾ë¤©c? �N rS
t@C¼ðung-datedic.tvƩɵÄAut@C¼ª "ng-" ÅnÜé«©çÌGgÍwKµÈ��vÆ©A½©ï¿½ï¿½ï¿½~HªKv©àB �N à¿ëñA©ªÉͳŷªB
scim-anthy Èç shift + enter (wK¹¸Émè)ÅêñðÅ«Ü·ªA{uim, ibus}-anthy ÅÍñð·éèÍÈ��©àBibus-anthy ͵ÎçXVµÄÈ��ÌÅAÅßÌÍ��mFÅ·ªB
ãÍAdatedic.rb ðÀs·éÌƯ��^C~OÅAwKt@C©çútÌGgðÜÞàÌðí·éÆ©Bø¾¯ÇcB
@daily /usr/bin/sed -i -r '/(�}Ƶ|«åËñ|�NÆƵ|ç��Ëñ|³ç��Ëñ|�}ñ��Â|¹ñ��Â|¹ñ¹ñ��Â|ç����Â|³ç����Â|«å¤|«Ì¤|�NÆÆ��|³«ï¿½NÆÆ��| µ½| ³ÁÄ|µ ³ÁÄ)\?/d' $HOME/.anthy/last-record2_default.utf8
@reboot /usr/bin/sed -i -r '/(�}Ƶ|«åËñ|�NÆƵ|ç��Ëñ|³ç��Ëñ|�}ñ��Â|¹ñ��Â|¹ñ¹ñ��Â|ç����Â|³ç����Â|«å¤|«Ì¤|�NÆÆ��|³«ï¿½NÆÆ��| µ½| ³ÁÄ|µ ³ÁÄ)\?/d' $HOME/.anthy/last-record2_default.utf8
sed Ìu-ivu-rvÍ GNU sed Àè©B
wKt@CÁÄ¡Å«½è·éñŵ½Á¯? iAwK OFF ÈÌŪ©çÈ��cB
yÖA·éLz
rq=#${year}N${month}${day}ú
ݽ��È`ÅA^CÌNúð\¦Å«éæ¤Å·ËB
(½Ôñ"rq"ÅÏ··éÆNúª\¦³êé)
http://code.google.com/p/ibus/
> Support user custom phrases phrases.txt
http://github.com/phuang/ibus-pinyin/blob/master/src/phrases.txt
�}Á¿ÌûªX}[gÈ�L��ªµÜ·Ë(³·ªÉbÜÅÍvçÈ��CªµÜ·ª)B
python ª©êÎ ibus-anthy ÅàcÆv¤ñÅ·ªAªLè�NŽ��ܷcB
uÀf»¤öðµÄ��évÌæ¤Éu`e®+»¤ÈvªoÉ©Á½ÌÅA
(=Àf»¤ÈçðµÄ��é)A
adj-verb.depdefÉÌGgð«µÄÝܵ½B
//
@`®_iAÌ` "»¤" St@
@`®_iAÌ` "»¤È" St@
@`®_iAÌ` "»¤È" @_®u椾v
@`®_iAÌ` "»¤È" Hn@`®¼u�}Æv
@`®_iAÌ` "»¤È" Hn@`®¼u¹ï¿½ï¿½v
@`®_iAÌ` "»¤È" Hn@`®¼u½ßv
@`®_iAÌ` "»¤È" Hn@`®¼uàÌv
@`®_iAÌ` "»¤È" Hn@`®¼uí¯v
@`®_iAÌ` "»¤È" Hn@uÌvi(Ì)
@`®_iAÌ` "»¤È" @u¾¯v
@`®_iAÌ` "»¤È" @uÌÅvÚ
@`®_iAÌ` "»¤È" @uÌÉvÚ
@`®_iAÌ` "»¤È" @uàÌÌvÚ
@`®_iAÌ` "»¤È" @uÌvI
@`®_i¼è` "»¤Èç" Se@
@`®_i¼è` "»¤Èç" @uÎvÚ
//
IíÁÄéæ¤ÈAIíÁÄÈ��æ¤Èc
éöxÏXªÜÁ½ç G-HAL ÉÁÄAG-HAL ÌûÅXVµÄá�N¤©ÈÆvÁÄÜ·Bpatch ªôÂà éÌÍ��̳ÈÌÅB
UTUMI ³ñÌûà»êÅâèÍÈ��ŷæË?
> adj-verb.depdefÉÌGgð«µÄÝܵ½B
�}ÌÓÍïµï¿½ï¿½Æ�}ëÈñÅ·æËc
N ��ßÅ·êvÆr^rÆâçÅàá¤Åµå¤µc
�}¿çÅÍuÀf»¤ÈçðµÄ��évðá��o^µÄlqð©ÄÝÜ·
âèÈ��ŷBÆ��¤æèA
> G-HAL ÉÁÄAG-HAL ÌûÅXVµÄá�N¤©È
G-HAL³ñ̲sÌûªâè©àµêܹñB
> �}ÌÓÍïµï¿½ï¿½Æ�}ëÈñÅ·æËc
»¤Å·ËB«µÄݽ¯ÇëÏ··éÍëÏ··éµA
ìpªÈ��ÆྦܹñB
µ©µGoogle IMEÌLinuxÅv]ª½ï¿½ï¿½Å·ËB
http://www.google.com/support/forum/p/ime/label?lid=5d55e2fc5bb6b0c1&hl=ja&sort=popularity
ã©ç4ÔÚÉ
> Linux[U[É�}»KvÈàÌÅ·B
��©À»·éñ��áÈ��©ÆvÁÄ��ÄA
«Íq��ÌÂàèÅXVµÄ��ܷB
Ü_»êÍmFµÜ·ªA�}êÜÅÍ alt-depgraph ðXV·éÆAG-HAL Ìûà»êðgÁ½àÌÉXV³êĽÌÅA»êðl¦éƼÚÁÄà¯ï¿½ï¿½ï¿½}Æ©ÈÆB
alt-depgraph ©ÌAÙÚoãªèÅAऻñÈÉpÉÉXV·é�}ÆÍÈ��ŷµB
ÞàA¼Úé©Ç¤©ÍܾߩËÄéñÅ·ªB
l¦ªúÖíèÅÏéÌÅ��écB
> «Íq��ÌÂàèÅXVµÄ��ܷB
Google ÌÍu«ÍöJµÈ��©àvÆÇÁ©ÅÇñ¾Cª·éÌÅAªmªÀÛÉoÄ«Ä©çl¦Ü·B
»êÉA»à»à«Éηél¦ûª©ªÆͪá¤æ¤ÈÌÅAoÄ«Äàu©ñ¯[È��âvÆv¤¾ë¤ÈAÆ��¤CªµÄÜ·B¡ÌÆ�}ëB
G-HAL³ñÌÆ�}ëÌà̪ÅVÅA
alt-cannadicö®TCgÌà̪Ã��ÆÈéÆA
¿åÁÆsvcÈ�L��͵ܷËB
uÅVÅÍG-HALÌTCgÅ_E[hÅ«Ü·vÆ
TCgÌÇ�}©É��Ä�N¯ÎâèÈ��̩àµêܹñªB
Á\Á½óÔÅ��½çú{êÔá¦Üµ½ orz
uÍmªvÅ·B¸çðÎcB
»êÆAåÈ�}Æð«YêÄܵ½ªAè³ÅÍuÀf»¤ÈçðµÄ��évðá��o^·é�}Æųµo¹éæ¤ÉÈèܵ½B
��Íð¿åÁÆϦéÆܽϷūÈ��©àµêܹñªB
Vµï¿½ï¿½iðÅÁ¿ãï¿½ï¿½Ä wtab.h Ì WF_* ÉuwKµÈ��tOvðÇÁ·é̪A
wKµÄ©çwKðÁ·AæèÍAX}[gÅGKgÈCªµÜ·ªA
»¤ï¿½ï¿½¤¾Í½©©ªÌñðµßÄ��élÈCªccB
{CÅ~µï¿½ï¿½Æ¾¤ûªï¿½ï¿½çÁµáéÌÈçACªü��½ÉµÄÝÜ·ªAÙµå¤ÍµÜ¹ñB
> alt-depgraph
©gªgpµÄ��é\[XpbP[Wð»ÌÜÜöJ·éÍÂ\ÅA»óÍ»¤ÈÁÄ��ܷªA»êÈãÍūܹñæBalt-depgraphPÌÅ·Æ©A�LìÅAnthypÅÅ·Æ©B
> uÀf»¤ÈçðµÄ��év
pá«ÉÇÁ·éèàLÁ½èµÜ·BÇÌöxøÊIÈÌ©Ís¾Å·ªB
> Google-IME
OpenBSDÅÍoÈ��ŵ天çA©ñ¯[È��â :-O
¡ÌA��ȳ»¤ÈCzÅ·ËcB
©ªàAÇÁ©ÉuÅ«È��vÆ©êĽÌ𩩯Äu��âAÅ«ÈÍÈ��ævÆ��¤ï¿½}Æ𦵽©Á½¾¯ÈÌÅB
>> alt-depgraphPÌÅ·Æ©A�LìÅAnthypÅÅ·Æ©B
��â��âAܳ©»ñÈÌ�����}ÆÍl¦Ä�NèܹñB
ÚµÍãú[ð·µã��ܷÌÅAà¤X�NÒ¿ðB
> pá«ÉÇÁ·éèàLÁ½èµÜ·B
uÀfv¾¯ÅÈAus@v¼ÌuÈÚ�} èvÌêÌ�}Æà éÌÅ(ÂÜèAiR[hxÌÂȪèÌâè¾Æv¤ÌÅ)A�}ÌêÍpá«æèá��Éo^·éûªKØ©ÈÆv��ܷB
pá«àAÜpg[(?)µÄ¸ï¿½ï¿½½ÌÅpµ½ï¿½ï¿½ÌÅ·ªAÈ©È©»ï¿½}ÜÅèªñèܹñcB
> ©ñ¯[È��â :-O
�NA¯u©? (Î