mohangk / c_sastrawi Goto Github PK
View Code? Open in Web Editor NEWA port of PHP Sastrawi to C
A port of PHP Sastrawi to C
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.