├── .github └── workflows │ └── ccpp.yml ├── .gitignore ├── .travis.yml ├── AUTHORS ├── COPYING ├── ChangeLog ├── INSTALL ├── Makefile.am ├── README.md ├── autogen.sh ├── configure.ac ├── crfsuite.sln ├── example ├── chunking.py ├── crfutils.py ├── ner.py ├── pos.py └── template.py ├── frontend ├── Makefile.am ├── dump.c ├── frontend.vcxproj ├── iwa.c ├── iwa.h ├── learn.c ├── main.c ├── option.c ├── option.h ├── readdata.h ├── reader.c └── tag.c ├── genbinary.sh.in ├── include ├── Makefile.am ├── crfsuite.h ├── crfsuite.hpp ├── crfsuite_api.hpp └── os.h ├── lib ├── cqdb │ ├── COPYING │ ├── Makefile.am │ ├── cqdb.vcxproj │ ├── include │ │ └── cqdb.h │ └── src │ │ ├── cqdb.c │ │ └── lookup3.c └── crf │ ├── .gitignore │ ├── Makefile.am │ ├── crf.vcxproj │ └── src │ ├── crf1d.h │ ├── crf1d_context.c │ ├── crf1d_encode.c │ ├── crf1d_feature.c │ ├── crf1d_model.c │ ├── crf1d_tag.c │ ├── crfsuite.c │ ├── crfsuite_internal.h │ ├── crfsuite_train.c │ ├── dataset.c │ ├── dictionary.c │ ├── holdout.c │ ├── logging.c │ ├── logging.h │ ├── params.c │ ├── params.h │ ├── quark.c │ ├── quark.h │ ├── ring.c │ ├── ring.h │ ├── rumavl.c │ ├── rumavl.h │ ├── semimarkov.c │ ├── semimarkov.h │ ├── train_arow.c │ ├── train_averaged_perceptron.c │ ├── train_l2sgd.c │ ├── train_lbfgs.c │ ├── train_passive_aggressive.c │ └── vecmath.h ├── m4 └── .gitignore ├── swig ├── Makefile.am ├── crfsuite.cpp ├── export.i └── python │ ├── README │ ├── prepare.sh │ ├── sample_tag.py │ ├── sample_train.py │ └── setup.py.in ├── tap-driver.sh ├── tests ├── Makefile.am ├── test_sm_1.input ├── test_sm_1.test ├── test_sm_1_1.expected ├── test_sm_1_3.expected ├── test_sm_1_5.expected ├── test_tree_2.input ├── test_tree_2.test ├── test_tree_2_1.expected ├── test_tree_2_3.expected ├── test_tree_2_5.expected ├── test_tree_2_7.expected └── test_tree_2_9.expected └── win32 └── stdint.h /.github/workflows/ccpp.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/.github/workflows/ccpp.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/.travis.yml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/AUTHORS -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/COPYING -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/ChangeLog -------------------------------------------------------------------------------- /INSTALL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/INSTALL -------------------------------------------------------------------------------- /Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/Makefile.am -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/README.md -------------------------------------------------------------------------------- /autogen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/autogen.sh -------------------------------------------------------------------------------- /configure.ac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/configure.ac -------------------------------------------------------------------------------- /crfsuite.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/crfsuite.sln -------------------------------------------------------------------------------- /example/chunking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/example/chunking.py -------------------------------------------------------------------------------- /example/crfutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/example/crfutils.py -------------------------------------------------------------------------------- /example/ner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/example/ner.py -------------------------------------------------------------------------------- /example/pos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/example/pos.py -------------------------------------------------------------------------------- /example/template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/example/template.py -------------------------------------------------------------------------------- /frontend/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/Makefile.am -------------------------------------------------------------------------------- /frontend/dump.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/dump.c -------------------------------------------------------------------------------- /frontend/frontend.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/frontend.vcxproj -------------------------------------------------------------------------------- /frontend/iwa.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/iwa.c -------------------------------------------------------------------------------- /frontend/iwa.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/iwa.h -------------------------------------------------------------------------------- /frontend/learn.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/learn.c -------------------------------------------------------------------------------- /frontend/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/main.c -------------------------------------------------------------------------------- /frontend/option.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/option.c -------------------------------------------------------------------------------- /frontend/option.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/option.h -------------------------------------------------------------------------------- /frontend/readdata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/readdata.h -------------------------------------------------------------------------------- /frontend/reader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/reader.c -------------------------------------------------------------------------------- /frontend/tag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/frontend/tag.c -------------------------------------------------------------------------------- /genbinary.sh.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/genbinary.sh.in -------------------------------------------------------------------------------- /include/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/include/Makefile.am -------------------------------------------------------------------------------- /include/crfsuite.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/include/crfsuite.h -------------------------------------------------------------------------------- /include/crfsuite.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/include/crfsuite.hpp -------------------------------------------------------------------------------- /include/crfsuite_api.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/include/crfsuite_api.hpp -------------------------------------------------------------------------------- /include/os.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/include/os.h -------------------------------------------------------------------------------- /lib/cqdb/COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/cqdb/COPYING -------------------------------------------------------------------------------- /lib/cqdb/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/cqdb/Makefile.am -------------------------------------------------------------------------------- /lib/cqdb/cqdb.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/cqdb/cqdb.vcxproj -------------------------------------------------------------------------------- /lib/cqdb/include/cqdb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/cqdb/include/cqdb.h -------------------------------------------------------------------------------- /lib/cqdb/src/cqdb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/cqdb/src/cqdb.c -------------------------------------------------------------------------------- /lib/cqdb/src/lookup3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/cqdb/src/lookup3.c -------------------------------------------------------------------------------- /lib/crf/.gitignore: -------------------------------------------------------------------------------- 1 | .deps/ 2 | -------------------------------------------------------------------------------- /lib/crf/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/Makefile.am -------------------------------------------------------------------------------- /lib/crf/crf.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/crf.vcxproj -------------------------------------------------------------------------------- /lib/crf/src/crf1d.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/crf1d.h -------------------------------------------------------------------------------- /lib/crf/src/crf1d_context.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/crf1d_context.c -------------------------------------------------------------------------------- /lib/crf/src/crf1d_encode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/crf1d_encode.c -------------------------------------------------------------------------------- /lib/crf/src/crf1d_feature.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/crf1d_feature.c -------------------------------------------------------------------------------- /lib/crf/src/crf1d_model.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/crf1d_model.c -------------------------------------------------------------------------------- /lib/crf/src/crf1d_tag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/crf1d_tag.c -------------------------------------------------------------------------------- /lib/crf/src/crfsuite.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/crfsuite.c -------------------------------------------------------------------------------- /lib/crf/src/crfsuite_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/crfsuite_internal.h -------------------------------------------------------------------------------- /lib/crf/src/crfsuite_train.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/crfsuite_train.c -------------------------------------------------------------------------------- /lib/crf/src/dataset.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/dataset.c -------------------------------------------------------------------------------- /lib/crf/src/dictionary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/dictionary.c -------------------------------------------------------------------------------- /lib/crf/src/holdout.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/holdout.c -------------------------------------------------------------------------------- /lib/crf/src/logging.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/logging.c -------------------------------------------------------------------------------- /lib/crf/src/logging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/logging.h -------------------------------------------------------------------------------- /lib/crf/src/params.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/params.c -------------------------------------------------------------------------------- /lib/crf/src/params.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/params.h -------------------------------------------------------------------------------- /lib/crf/src/quark.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/quark.c -------------------------------------------------------------------------------- /lib/crf/src/quark.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/quark.h -------------------------------------------------------------------------------- /lib/crf/src/ring.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/ring.c -------------------------------------------------------------------------------- /lib/crf/src/ring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/ring.h -------------------------------------------------------------------------------- /lib/crf/src/rumavl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/rumavl.c -------------------------------------------------------------------------------- /lib/crf/src/rumavl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/rumavl.h -------------------------------------------------------------------------------- /lib/crf/src/semimarkov.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/semimarkov.c -------------------------------------------------------------------------------- /lib/crf/src/semimarkov.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/semimarkov.h -------------------------------------------------------------------------------- /lib/crf/src/train_arow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/train_arow.c -------------------------------------------------------------------------------- /lib/crf/src/train_averaged_perceptron.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/train_averaged_perceptron.c -------------------------------------------------------------------------------- /lib/crf/src/train_l2sgd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/train_l2sgd.c -------------------------------------------------------------------------------- /lib/crf/src/train_lbfgs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/train_lbfgs.c -------------------------------------------------------------------------------- /lib/crf/src/train_passive_aggressive.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/train_passive_aggressive.c -------------------------------------------------------------------------------- /lib/crf/src/vecmath.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/lib/crf/src/vecmath.h -------------------------------------------------------------------------------- /m4/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /swig/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/swig/Makefile.am -------------------------------------------------------------------------------- /swig/crfsuite.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | -------------------------------------------------------------------------------- /swig/export.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/swig/export.i -------------------------------------------------------------------------------- /swig/python/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/swig/python/README -------------------------------------------------------------------------------- /swig/python/prepare.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/swig/python/prepare.sh -------------------------------------------------------------------------------- /swig/python/sample_tag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/swig/python/sample_tag.py -------------------------------------------------------------------------------- /swig/python/sample_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/swig/python/sample_train.py -------------------------------------------------------------------------------- /swig/python/setup.py.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/swig/python/setup.py.in -------------------------------------------------------------------------------- /tap-driver.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tap-driver.sh -------------------------------------------------------------------------------- /tests/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/Makefile.am -------------------------------------------------------------------------------- /tests/test_sm_1.input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_sm_1.input -------------------------------------------------------------------------------- /tests/test_sm_1.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_sm_1.test -------------------------------------------------------------------------------- /tests/test_sm_1_1.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_sm_1_1.expected -------------------------------------------------------------------------------- /tests/test_sm_1_3.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_sm_1_3.expected -------------------------------------------------------------------------------- /tests/test_sm_1_5.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_sm_1_5.expected -------------------------------------------------------------------------------- /tests/test_tree_2.input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_tree_2.input -------------------------------------------------------------------------------- /tests/test_tree_2.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_tree_2.test -------------------------------------------------------------------------------- /tests/test_tree_2_1.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_tree_2_1.expected -------------------------------------------------------------------------------- /tests/test_tree_2_3.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_tree_2_3.expected -------------------------------------------------------------------------------- /tests/test_tree_2_5.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_tree_2_5.expected -------------------------------------------------------------------------------- /tests/test_tree_2_7.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_tree_2_7.expected -------------------------------------------------------------------------------- /tests/test_tree_2_9.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/tests/test_tree_2_9.expected -------------------------------------------------------------------------------- /win32/stdint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WladimirSidorenko/CRFSuite/HEAD/win32/stdint.h --------------------------------------------------------------------------------