-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
41 lines (35 loc) · 1.64 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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