giellalt / bugzilla-dummy

0 stars 0 forks source link

hfst-speller does not work in Mac OS Lion (?) (Bugzilla Bug 1265) #1679

Closed albbas closed 10 years ago

albbas commented 12 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 1265

Date: 2012-01-25T18:38:44+01:00 From: Andrey Chemyshev <> To: Sjur Nørstebø Moshagen <> CC: borre.gaup, chemyshev.andrey, m-fedina, tomi.k.pieski, trond.trosterud

Last updated: 2014-04-29T09:46:08+02:00

albbas commented 12 years ago

Comment 5662

Date: 2012-01-25 18:38:44 +0100 From: Andrey Chemyshev <>

Compiling sma and smn with Lion we get transducers without error messages, and we get the .voikko/2/ catalogue filled with appropriate files. But the fat-s do not work.

This is reported here because it breaks the hfst speller.

I compiled the sma fsts with xerox and host on Lion, and got sizable transducers for both. But the host ones only give question marks. MacBook-Pro-Marina-2:~ andrej$ hfst-lookup -V hfst-lookup 0.6 (hfst 3.3.4)

MacBook-Pro-Marina-2:~ andrej$ ls -l main/gt/sma/bin/ total 33832 -rw-r--r-- 1 andrej staff 22135 25 янв 21:32 corr.txt -rw-r--r-- 1 andrej staff 254 25 янв 21:32 focus-filter.fst -rw-r--r-- 1 andrej staff 616097 25 янв 21:32 isma-SO.restr.fst -rw-r--r-- 1 andrej staff 1463410 25 янв 21:32 isma-norm.fst -rw-r--r-- 1 andrej staff 656467 25 янв 21:23 isma.fst -rw-r--r-- 1 andrej staff 238 25 янв 21:14 isma.hfstol -rw-r--r-- 1 andrej staff 148 25 янв 21:23 missing -rw-r--r-- 1 andrej staff 2069820 25 янв 21:32 ped-sma.fst -rw-r--r-- 1 andrej staff 562462 25 янв 21:32 sma-SO.restr.save -rw-r--r-- 1 andrej staff 3771153 25 янв 21:14 sma-gen.hfst -rw-r--r-- 1 andrej staff 3096485 25 янв 21:14 sma-lexc.hfst -rw-r--r-- 1 andrej staff 424724 25 янв 21:23 sma-lexc.save -rw-r--r-- 1 andrej staff 587382 25 янв 21:32 sma-norm.fst -rw-r--r-- 1 andrej staff 430 25 янв 21:14 sma-norm.hfst -rw-r--r-- 1 andrej staff 242 25 янв 21:14 sma-norm.hfstol -rw-r--r-- 1 andrej staff 532645 25 янв 21:32 sma-norm.save -rw-r--r-- 1 andrej staff 2618 25 янв 21:23 sma-num.fst -rw-r--r-- 1 andrej staff 419 25 янв 21:14 sma-tagsremoved.hfst -rw-r--r-- 1 andrej staff 1566691 25 янв 21:14 sma-twol.hfst -rw-r--r-- 1 andrej staff 567468 25 янв 21:23 sma-twolc.save -rw-r--r-- 1 andrej staff 538 25 янв 21:14 sma-upper.hfst -rw-r--r-- 1 andrej staff 416 25 янв 21:14 sma.filtered.hfst -rw-r--r-- 1 andrej staff 650951 25 янв 21:23 sma.fst -rw-r--r-- 1 andrej staff 552 25 янв 21:14 sma.hfst -rw-r--r-- 1 andrej staff 315 25 янв 21:14 sma.hfstol -rw-r--r-- 1 andrej staff 567584 25 янв 21:23 sma.save -rw-r--r-- 1 andrej staff 235 25 янв 21:14 sma.single.hfstol -rw-r--r-- 1 andrej staff 424 25 янв 21:14 sma.speller-filtered.hfst -rw-r--r-- 1 andrej staff 482 25 янв 21:14 sma.spl-errormodel.hfstol -rw-r--r-- 1 andrej staff 49515 25 янв 21:23 twol-sma.bin -rw-r--r-- 1 andrej staff 8120 25 янв 21:32 typos.fst -rw-r--r-- 1 andrej staff 12714 25 янв 21:32 typoslist.txt MacBook-Pro-Marina-2:~ andrej$

albbas commented 12 years ago

Comment 5759

Date: 2012-02-07 22:28:41 +0100 From: Sjur Nørstebø Moshagen <>

I don't have Lion on my development machine yet. I will look into this when I have.

albbas commented 11 years ago

Comment 7177

Date: 2012-10-26 09:40:57 +0200 From: Trond Trosterud <>

We should resume work on this bug in the light of recent development. The Komi speller now works for Mountain Lion with the new infrastructure, and we should check whether it does so on Lion as well. Steps:

  1. Document setup (update the page http://giellatekno.uit.no/doc/tools/UsingVoikkoWithHfst.html )
  2. Run the steps on Lion (both in Tromsø if there are any left, and in Syktyvkar)
  3. Evaluate

Before we can get a content-evaluation, we must fix the recent bug for kpv (it worked for Sjur 25.10. but not 26.10). While waiting, we (especially you in Syktyvkar) may test to install the sma speller, to see that the setup works.

albbas commented 11 years ago

Comment 7178

Date: 2012-10-26 11:50:09 +0200 From: Trond Trosterud <>

Update: By installing everything in newinfra, I get the following recognised by Voikko:

yrk nenets vep veps smj lule sma south olo livvi nio nganasa myv erzya mrj western mari mhr eastern mari kpv komi zyryan kca khanty izh ingrian fao faroese

But only sme, smj, fao actually work as spellers, and only these three are listed as options when I chose "More..." under "Set language for paragraph..."

albbas commented 11 years ago

Comment 8201

Date: 2013-04-29 09:24:14 +0200 From: Sjur Nørstebø Moshagen <>

There has been a lot of work on both the infrastructure and on Voikko since the last comment. Status is now:

All in all, what is needed is to build the LibreO plugin with hfst support, make sure things are installed in the correct places, and then test that it all works. Almost everything should be in place for working spellers now.

albbas commented 10 years ago

Comment 9366

Date: 2014-04-29 09:46:08 +0200 From: Sjur Nørstebø Moshagen <>

(In reply to comment #4)

All in all, what is needed is to build the LibreO plugin with hfst support, make sure things are installed in the correct places, and then test that it all works. Almost everything should be in place for working spellers now.

This was written exactly one year ago. What has happened in the meantime is that we now have alpha (almost beta) versions of the LibreOffice plugin, and if you configure your language to build spellers and you have the full $GTHOME checked out, the build system will build the LibreOffice plugin for you, both for Mac (for LibreOffice 4+) and for Windows (for LibreOffice 3.6, but not LO 4.x).

There are reported issues for the LibreOffice speller, but as far as this bug is concerned, all issues should be resolved now.