Coder Social home page Coder Social logo

c_sastrawi's People

Contributors

mohangk avatar wshallum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

c_sastrawi's Issues

Erorr when compiling

I've run all step in README.md then get an error when compiling on Debian Jessie.

$ make
cc -std=c99 -Wall -g -O2 -Wextra -Isrc -I/usr/local/include -DNDEBUG   -lpcre2-8  -L/usr/local/lib   tests/affix_removal_tests.c  build/libsastrawi.a tests/test_helper.o -o tests/affix_removal_tests
cc: error: tests/test_helper.o: No such file or directory
: recipe for target 'tests/affix_removal_tests' failed
make: *** [tests/affix_removal_tests] Error 1

Is there any step I missed?

Test against reversed dictionary

https://raw.githubusercontent.com/herpiko/uji-sastrawi/master/reversed.json

Instead of testing against several random article, this json file (which is crawled from badanbahasa.kemdikbud.go.id/kbbi/index.php ) could be used as test reference.

{
    "kata" : "perlistrikan",
    "awalan" : "l",
    "lema" : "listrik",
    "penggalan" : [
        "per", "lis", "trik", "an"
    ]
}

kata should be stemmed to lema

But this json still need to be cleaned, some of them has invalid character like ? :

{
    "kata" : "taubat ? tobat",
    "awalan" : "t",
    "lema" : "taubat",
    "penggalan" : [
        "tau", "bat ? tobat"
    ]
}

I guess those words that splitted by ? are still debatable.

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.