Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
galateatalk [2010/11/18 08:54] nishimotzgalateatalk [2011/10/09 18:35] nishimotz
Line 112: Line 112:
 ==== chaone + unidic ==== ==== chaone + unidic ====
  
-  * http://www.tokuteicorpus.jp/dist/ (Japanese, user registration required)+  * http://www.tokuteicorpus.jp/dist/ (Japanese pages, user registration required)
   * download 1: chaone-1.3.3.tar.gz   * download 1: chaone-1.3.3.tar.gz
   * download 2: unidic-chasen1312src.tar.gz (use source. binary version is for 32bit chasen)   * download 2: unidic-chasen1312src.tar.gz (use source. binary version is for 32bit chasen)
Line 336: Line 336:
  
 see [[project:jagtalk]] see [[project:jagtalk]]
 +
 +===== Mac build (32bit, euc-jp, without ports) =====
 +
 +since 2011-10-08
 +
 +  * MacOSX 10.6.8
 +
 +http://chasen.org/~taku/software/darts/
 +
 +<code>
 +$ tar xvfz darts-0.32.tar.gz 
 +$ cd darts-0.32
 +$ CFLAGS='-arch i386' ./configure 
 +$ make
 +$ make check
 +$ sudo make install
 +</code>
 +
 +http://sourceforge.jp/projects/chasen-legacy/
 +
 +<code>
 +$ tar xvfz chasen-2.4.4.tar.gz
 +$ cd chasen-2.4.4
 +$ make distclean
 +$ CFLAGS='-arch i386 -m32' CXXFLAGS='-arch i386 -m32' LDFLAGS='-arch i386' ./configure; make
 +$ sudo make install
 +$ file /usr/local/bin/chasen
 +/usr/local/bin/chasen: Mach-O executable i386
 +</code>
 +
 +chaone (from tokuteicorpus site)
 +
 +  * to use the system libraries for XML, chaone was build as the 64bit binary.
 +
 +<code>
 +$ tar xvfz chaone-1.3.3.tar.gz
 +$ cd chaone-1.3.3
 +$ CFLAGS='-I/usr/include/libxslt -I/usr/include/libxml2' CPPFLAGS=$CFLAGS sh configure
 +$ make
 +$ chmod 755 install-sh
 +$ sudo make install
 +$ file /usr/local/chaone/chaone
 +/usr/local/chaone/chaone: Mach-O 64-bit executable x86_64
 +</code>
 +
 +The installer seems forgetting to copy a file..
 +
 +<code>
 +$ sudo cp ap_pos_rule.xml /usr/local/chaone/
 +</code>
 +
 +prepare speakers and unidic-chasen:
 +
 +<code>
 +$ ls ~/work/galatea/speakers-060820/
 +female01 male01
 +
 +$ ls ~/work/galatea/unidic-chasen1312_eucj/
 +ChangeLog chadic.lex grammar.cha table.cha
 +cforms.cha chasenrc license.txt
 +chadic.da chasenrc_chaone manual.pdf
 +chadic.dat ctypes.cha matrix.cha
 +</code>
 +
 +[[http://en.nishimotz.com/project:jagtalk|jagtalk]]
  
  
galateatalk.txt · Last modified: 2011/10/11 10:40 by nishimotz
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0