CRF is a Java implementation of Conditional Random Fields, an algorithm for learning from labeled sequences of examples. It also includes an implementation of Maximum Entropy learning.
License: Other
Java 99.74%CSS 0.21%Shell 0.05%
crf's Introduction
You will need jdk1.4 or above and ant to compile.
Make sure to set the classpath by running "settings.sh" after
setting CRF_HOME to the directory where you have unpackaged this distribution.
A sample dataset for the segmentation problem is available under samples
Run it as
"java iitb.Segment.Segment train -f samples/us50.conf"
"java iitb.Segment.Segment test -f samples/us50.conf"
"java iitb.Segment.Segment calc -f samples/us50.conf" (report performance statistics)
or all together with
"java iitb.Segment.Segment all -f samples/us50.conf"
Files
-----
build/ -- Dir containing all class files
build.xml -- XML file to build the code using ANT
doc/ -- Documentation for the code (It includes Java API, introduction and FAQs - all in the HTML form).
lib/ -- All required libraries are kept here.
LICENSE.txt -- Licencse agreeement.
README -- This file.
samples/ -- Sample configuration and data files.
settings.sh -- Script to set up the package.
src/ -- Source code.
third-party-license.txt -- Third party license.
Dear sir, i have tried to execute your source code for my practice. Here, i installed ant and jdk, then ant was run successfully. But, how can i test your sample dataset in the command prompt of windows 7 operating system?
I use both JDK1.7 and JDK1.8 to run the same corpus. But the prediction result is different sometimes. I think it may be the compatibility problem while I'm not sure which parts cause this (may be the jdk sort implementation ?) . Please give some suggestions here. Thanks !
its very interesting have found your repository, By the way, i still not understand how to running this code, i have seen standford NER CRF, it is same ?? cause i need to developt on indonesia dataset may be i can contribuet to next developtment. by the way I'm Calvin from Indonesia Nice too meet ya