Hello Jeff and Takao, thank you for helping me with Zemberek and Voikko integration.
Since the AC_CHECK_LIB macro at Enchant's configure.in file http://www.abisource.com/viewvc/enchant/trunk/configure.in?view=markup I understand I can build and test JDS within Zemberek and Voikko using following steps: 1) Build and install Zemberek & Voikko NLP engines on Nevada build machine 2) Setup CBE and build JDS workspace: http://www.opensolaris.org/os/project/jds/contributing/building/ 3) If both engines will work fine, include SUNWzemberek and SUNWvoikko in the JDS workspace. Jan On 01/14/09 03:39, Jeff Cai wrote: > On Tue, 2009-01-13 at 17:30 +0100, Jan.Trejbal at Sun.COM wrote: >> On 01/13/09 06:30, Takao Fujiwara - Tokyo S/W Center wrote: >>> Jan Trejbal-san wrote (11/ 7/08 10:30 PM): >>>> >>>> We need to compile the engines on OpenSolaris and configure Enchant to >>>> talk to them. Updating enchant.ordering will probably not be enough. I >>>> guess we will also need to register Zemberek at DBus. Maybe more >>>> configuration will be needed. >>> >>> OK, I have done the evaluations. Both Zemberek and Voikko works fine. >>> Once the language engines are delivered to nevada, Desktop build env will >>> detect the engines and recompile the packages. >> >> Thank you very much for evaluation. >> Are you saying that desktop build environment will detect Zemberek and >> Voikko files (below) on the system automatically, when re-compilation of >> Enchant and maybe some other desktop pkgs is run? > > Yes. > > In configure.in of enchant, it uses the macro AC_CHECK_LIB to check > whether Voikko is installed. If Voikko has been installed, the Enchant > Voikko will be built. > > For Enchant Zemberek, it has been built now since it doesn't depend on > the installation of Zemberek. > > Jeff >> So, no need to change any Enchant/desktop configuration file? No >> registration of the new language engines? >> That would be great. >> >> >>>> Btw., do you know which directory Enchant looks for specific language >>>> engines on OpenSolaris? Is my following guess correct? >>>> >>>> Enchant wrapper libs, will be part of Enchant pkg: >>>> /usr/lib/enchant/libenchant_zemberek.so >>>> /usr/lib/enchant/libenchant_voikko.so >>>> >>>> Engine bins/libs: >>>> /usr/share/zemberek/ >>> I like /usr/share/zemberek-server >>> >>>> /usr/share/voikko/ >>> I think /usr/lib/libvoikko*.so* only >>> >>>> Dictionaries: >>>> /usr/share/spell/zemberek/ >>> I think the actual dictionaries are included in jar files so it would be >>> $datadir. >>> >>>> /usr/share/spell/voikko/ >>> Yes, it would be nice. >>> >>> fujiwara >>> >>>> Jan >>>> >>>> >>> _______________________________________________ >>> i18n-discuss mailing list >>> i18n-discuss at opensolaris.org >>> http://mail.opensolaris.org/mailman/listinfo/i18n-discuss >> _______________________________________________ >> desktop-discuss mailing list >> desktop-discuss at opensolaris.org >