GithubHelp home page GithubHelp logo

Comments (4)

flammie avatar flammie commented on August 15, 2024

Interesting..., the source files for the lexicon definitions did get out of order in the development version, however, make does do sort -k 1,1 for them before reading anyways. I suspect doing simple make clean and make might solve it, but the current git version has also the data sorted in the right order.

from omorfi.

flammie avatar flammie commented on August 15, 2024

As for the HFST problem, it is unrelated but I have reported it it to HFST at sf.net

from omorfi.

TuulaP avatar TuulaP commented on August 15, 2024

Continuing with this one, hfst problem solved by installing bison, and just got new sources of omorfi from here (git clone...) , but still same thing

JARDI...33 DIGITS_MILJOONA...33 DIGITS_NELJÄ...32 DIGITS_NELJÄS...generated/omorfi-ftb3.lexc:429350.1-22: Sublexicon defined more than once. [near: `LEXICON DIGITS_NELJÄ']
/tmp/git_asennuksia/hfst_383/bin/hfst-lexc: The file generated/omorfi-ftb3.lexc did not compile cleanly.
(if there are no error messages above, try -v or -d to get more info)
make[1]: *** [generated/omorfi-ftb3.lexc.hfst] Error 1

 ./configure --prefix=/tmp/git_asennuksia/omorfi_uusin --with-hfst=/tmp/git_asennuksia/hfst_383/bin

The hfst was compiled with ./configure --prefix=/tmp/git_asennuksia/hfst_383 --enable-proc
so maybe I am missing something from its installation?

from omorfi.

TuulaP avatar TuulaP commented on August 15, 2024

Just to store this info also here. After some recent centos updates, and recompiling hfst, it seems that everything works.

hfst compilation:

./configure --prefix=$HFSTLOC --enable-proc --without-foma
and then omorfi:
./configure --prefix=$OMORFILOC --with-hfst=$HFSTLOC --enable-ftb3

omorfi's make check still complains of one thing, which I'm not sure how significant it is:

omorfi 20160000_alpha: src/test-suite.log
===============================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: bash/validate-database.bash
=================================

checking for duplicate unique keys in lexemes (word_id, homonym)
lexemes.tsv...
lexemes.tsv has duplicate keys in /tmp/omorfi-validate-database.KzQQgw0Iee/duplicate-keys

more /tmp/omorfi-validate-database.KzQQgw0Iee/duplicate-keys
2 suom. 1

from omorfi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.