Skip to content

nvcuong/HOSemiCRF

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
August 24, 2012 15:28
run
October 8, 2012 16:45
src
November 29, 2018 21:50
November 30, 2018 13:15
November 29, 2018 21:23
August 24, 2012 15:28

Source code for High-order Semi-Markov Conditional Random Field model

=== WARNING ===

HOSemiCRF requires a lot of memory usage. It is best to run the program in parallel on a computing cluster with lots of memory.

=== COMPILATION STEPS ===

Requirement: Apache Ant (http://ant.apache.org/)

  1. Download the HOSemiCRF repository as a zip file: HOSemiCRF-master.zip

  2. Unzip the file:

    unzip HOSemiCRF-master.zip

  3. Compile the program:

    cd HOSemiCRF-master

    ant

=== RUN THE PUNCTUATION PREDICTION PROGRAM ===

cp dist/lib/HOSemiCRF.jar run/punc/
cd run/punc
java -cp "HOSemiCRF.jar" Applications.PunctuationPredictor all punc.conf

=== RUN THE REFERENCE PREDICTION PROGRAM ===

cp dist/lib/HOSemiCRF.jar run/ref/
cd run/ref
java -cp "HOSemiCRF.jar" Applications.ReferenceTagger all ref.conf

=== RUN THE OCR PROGRAM ===

Download data from http://www.seas.upenn.edu/~taskar/ocr/ to the folder run/ocr/

cp dist/lib/HOSemiCRF.jar run/ocr/
cd run/ocr
java -cp "HOSemiCRF.jar" OCR.OCR all ocr.conf 0

=== MORE INFO ===

Please visit: https://github.com/nvcuong/HOSemiCRF/wiki

About

High-order Semi-Markov Conditional Random Field

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published