Giter Site home page Giter Site logo

kuhumcst / affixtrain Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 1.14 MB

Using supervised learning, create a set of affix rules for use by the CSTlemma lemmatiser.

License: GNU General Public License v2.0

Makefile 0.28% C++ 97.26% C 2.46%
cstlemma lemmatizer lemmatiser c-plus-plus affix-rules

affixtrain's People

Contributors

bartjongejan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

affixtrain's Issues

Missing 0/flexrules.short_XC and "Cannot open file training_data_V/t for writing" error

Dear @BartJongejan, thank you for your work on Affixtrain and for making it available on Github. I would like to try it with Sumerian, but I have stumbled upon the following issues. The Affixtrain I am using is a Windows executable I built yesterday with your code.

  1. The program runs on the example data, but flexrules.short_XC is not being created in /0/ (contains the files flexrules.short_A_XC, flexrules.short_ADV_XC, flexrules.short_N_XC, flexrules.short_NUM_XC, and flexrules.short_V_XC) or elsewhere.

  2. When I am trying to test Affixtrain on Sumerian data (packed in a file with the same structure as short in the example folder), it first seemingly runs as expected, creating the numbered folders and a plenty of files. However, unlike when it runs with the example data, a lot of messages like
    !f1 (output tmp\out--_XC-N:DN_affixsingleshotincSize_5_9856_1.txt) PRESS ENTER
    appear. The program stops with the following message:
    Open files: 1721
    Single tag input file: Cannot open file training_data_V/t for writing (wb). Exiting.
    Just as in 1, The expected flexrules.training_data_XC is also nowhere to be found.

I'd be very grateful if you could tell me what might be the cause of those, what I could do wrong and how to fix it. Many thanks in advance!

Segmentation fault

Dear @BartJongejan, thank you for your work. I wanted to create flex rules for cstlemma, but I run into problem when "./affixtrain -i short -n FLOO" ends with segmentation fault.

Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000041354d in node::cleanup (this=0x0, parent=0x0, recursionDepth=0) at node.cpp:770
770 if (this->IfPatternSucceeds)

Thank you very much.

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.