-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
70 lines (41 loc) · 2.28 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Thoughtland - Describing n-dimensional Objects
==============================================
Thoughtland is an end-to-end system that produces an English
text summarizing the error function of a machine learning
algorithm applied to some training data.
Thoughtland is a four stages pipeline:
* [Cloud] Cloud of points generation via cross-validation
* [Cluster] Model-based clustering to identify interesting components of the error function
* [Analysis] Identify further relation between the key components
* [Generation] Natural language generation to produce an English text summarizing the error function.
Building Thoughtland
--------------------
Thoughtland uses Maven but you will need to deploy locally some dependencies that haven't made their way into Central yet.
They are:
* OpenSchema
git clone git://github.com/DrDub/openschema.git
(cd openschema; mvn install)
* SimpleNLG
Download http://simplenlg.googlecode.com/files/simplenlg-v44.zip and extract it to some folder
do
mvn install:install-file -Dfile=/path/to/simplenlg/lib/lexAccess2011dist.jar -DgroupId=lexAccess2011dist -DartifactId=lexAccess2011dist -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -Dfile=/path/to/simplenlg/lib/lvg2011api.jar -DgroupId=lvg2011api -DartifactId=lvg2011api -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
then
git clone git://github.com/DrDub/simplenlg.git
and
mvn install
Running Thoughtland
-------------------
(For an example command-line use, take a look at App.scala)
mvn clean compile assembly:single
java -jar /full/path/to/project/target/thoughtland-0.0.1-SNAPSHOT-jar-with-dependencies.jar
should start a web-browser at http://localhost:7071
Hacking Thoughtland
-------------------
Take a look at architecture.scala and types.scala. If you want to contribute a new
component for any of the four stages, just implement the Traits and send a pull-request.
Developing in Eclipse: you will need to check out OpenSchema and SimpleNLG, install the
jars from the command line per the descriptions above, install the scala plugin from
http://scala-ide.org/download/milestone.html
and add the scala nature to the project plus add the src/{main,test}/scala as source folders
(that seems to be a bug either in the maven or scala plugins or in this project pom.xml).