[flaxcode] r1335 committed - Added Windows syntax.

6 views
Skip to first unread message

codesite...@google.com

unread,
Jun 15, 2012, 8:15:40 AM6/15/12
to flax-c...@googlegroups.com
Revision: 1335
Author: charlie...@gmail.com
Date: Fri Jun 15 05:15:27 2012
Log: Added Windows syntax.
http://code.google.com/p/flaxcode/source/detail?r=1335

Modified:
/trunk/Clade/README.txt

=======================================
--- /trunk/Clade/README.txt Mon Jun 11 05:34:01 2012
+++ /trunk/Clade/README.txt Fri Jun 15 05:15:27 2012
@@ -55,12 +55,12 @@
- Python modules
lxml: http://pypi.python.org/pypi/lxml/
httplib2: http://code.google.com/p/httplib2/downloads/list
+
+ On Windows you can download binaries of httplib2 from
http://www.lfd.uci.edu/~gohlke/pythonlibs/

Download the latest versions from these sites and follow the installation
instructions. The system has been developed on Linux and the following
instructions
-assume a Linux environment, but it would be relatively simple to translate
them
-to Windows command line syntax if necessary.
-
+assume a Linux environment, but Windows alternative syntax is included
where necessary.

------------
Example data
@@ -73,6 +73,10 @@
To import the taxonomy, run on the command line:

$ python classify.py import data/socpsy.csv
+
+ on Windows:
+
+ C:\> python classify.py import data\socpsy.csv

This will create a Python data structure, and pickle it as data/tax.

@@ -80,22 +84,40 @@
Solr home, e.g.:

$ cp -f clade/solr-conf/* apache-solr-3.6.0/example/solr/conf
+
+ on Windows:
+
+ C:\> copy clade\solr-conf\*.* apache-solr-3.6.0\example\solr\conf

Then [re]start Solr, e.g.:

$ cd apache-solr-3.6.0/example
$ java -jar start.jar &
+
+ on Windows:
+
+ C:\> cd apache-solr-3.6.0\example
+ C:\> java -jar start.jar &

Now start the Stanford Named Entity Recognition server, which is used to
pull
names, places etc. out of the source data:

$ cd stanford-ner-2011-09-14
$ ./server.sh &
+
+ or on Windows:
+
+ C:\ cd stanford-ner-2011-09-14
+ C:\ server.bat

Finally, add the example documents (which are provided as plaintext files):

$ python classify.py textdir data/socpsy-pages
-
+
+ on Windows:
+
+ C:\> python classify.py textdir data\socpsy-pages
+
This will output the name of each file as it is processed, and will take a
few minutes to complete.

@@ -107,6 +129,10 @@
The Clade UI is implemented as a web application. To start it, run:

$ python server.py
+
+ on Windows:
+
+ C:\> python server.py

Then point a browser at

Reply all
Reply to author
Forward
0 new messages