GithubHelp home page GithubHelp logo

justhalf / weak-semi-crf-naacl2016 Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 11.47 MB

The code for Weak Semi CRF (together with Linear CRF and Semi CRF) on new SMSNP dataset.

License: GNU General Public License v3.0

Shell 4.86% Perl 1.91% Python 7.08% Java 86.15%
naacl sms corpus crf nlp

weak-semi-crf-naacl2016's Introduction

By: Aldrian Obaja
Date: 29 Mar 2016
====================
Description of files
====================

** Essential files **
src/ - The main source folder. The models implementations are here
lib/ - The folder containing all the required libraries
experiments/ - The folder containing the main experiment scripts
data/ - The dataset used in the paper

pom.xml - The Maven pom file

create_brown_clusters.bash - To create Brown cluster information
                             Note that this requires the brown cluster binary
                             wcluster to be present in the folder brown-cluster/
                             The Brown clustering software can be downloaded at
                             https://github.com/percyliang/brown-cluster
create_tokenized_dataset.bash - To create SMSNP.conll.* files
get_span_histogram.bash - To print statistics on span and token length

** Generated files **
target/ - The binary files generated by Maven
dependency-reduced-pom.xml - The file generated by Maven
63-c100-p1.out/ - The Brown clusters information generated by
                  "create_brown_clusters.bash"

==============
How to compile
==============
1. Get Maven (https://maven.apache.org)
2. Run `mvn package` on this folder
   This step will produce "target/experiments-smsnp-1.0-SNAPSHOT.jar"
3. The jar file can be executed with:
       java -jar target/experiments-smsnp-1.0-SNAPSHOT.jar
   See the scripts under experiments/ to see how it was used

To edit the source code properly, open as Maven project.
For example, in Eclipse, after opening this folder as normal Java project,
right-click on the project and click Configure -> Convert to Maven Project

weak-semi-crf-naacl2016's People

Contributors

justhalf avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.