GithubHelp home page GithubHelp logo

jxlijunhao / book Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tamingtext/book

0.0 2.0 0.0 152.39 MB

Taming Text Book Source Code

Home Page: http://www.tamingtext.com

HTML 1.24% XSLT 16.17% Shell 27.46% CSS 0.62% JavaScript 4.39% Perl 0.26% Batchfile 0.10% Java 49.77%

book's Introduction

Taming Text, by Grant Ingersoll, Thomas Morton and Drew Farris is
designed to teach software engineers the basic concepts of working
with text to solve search and Natural Language Processing problems.
The book focuses on teaching using existing open source libraries like
Apache Solr, Apache Mahout and Apache OpenNLP to manipulate text.  To
learn more, visit http://www.manning.com/ingersoll.

Getting Started
---------------

Throughout this document, TT_HOME is the directory containing the
checkout of the Taming Text code base.

Taming Text uses Maven for building and running the code.  To get
started, you will need:

1. JDK 1.6+ 
2. Maven 3.0 or higher 
3. The OpenNLP English models, available at 
   http://maven.tamingtext.com/opennlp-models/models-1.5.

   Place the models in the TT_HOME directory in a directory named
   opennlp-models. 

   This can be done by using the following commands on UNIX from the
   TT_HOME directory:

   mkdir opennlp-models 
   cd opennlp-models 
   wget -nd -np -r http://maven.tamingtext.com/opennlp-models/models-1.5/ 
   rm index.html*
   
   
   or using wget (https://eternallybored.org/misc/wget/) and 7-Zip (http://www.7-zip.org/) on windows (both must be added to the path environment variable):
   
   md opennlp-models 
   cd opennlp-models
   wget -nd -np -r http://maven.tamingtext.com/opennlp-models/models-1.5/ 
   del index.htm*
   

4. Get WordNet 3.0 and place it in the TT_HOME directory.
   
   This can be done by using the following commands on UNIX from the
   TT_HOME directory:

   wget -nd -np -m http://maven.tamingtext.com/wordnet/
   rm index.html*
   tar -xf WordNet-3.0.tar.gz

   or using wget (https://eternallybored.org/misc/wget/) and  7-Zip (http://www.7-zip.org/) on windows (both must be added to the path environment variable):
   
   wget -nd -np -r http://maven.tamingtext.com/wordnet/
   del index.html*
   7z x WordNet-3.0.tar.gz
   7z x WordNet-3.0.tar

Building the Source
-------------------

Prior to building the source, for those previously unfamiliar with Maven,
it may be wise to read this to avoid future hassles:
http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html

To build the source, in TT_HOME:

   mvn clean package 

Running the Examples
--------------------

Many of the examples can be run via the 'tt' script in the TT_HOME/bin
directory. Running this script without arguments will display a list
of the example names.

Some of the samples are powered by pre-configured instances of
solr. These can be started with the TT_HOME/bin/start-solr.sh script,
which takes a single argument, the name of the instance to
start. Available instances include solr-qa, solr-clustering and
solr-tagging.

book's People

Contributors

drewfarris avatar gsingers avatar tamingtext avatar hkuhn42 avatar abscondment avatar navyant24 avatar

Watchers

James Cloos avatar jxlijunhao 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.