Skip to content

Commit

Permalink
Added instructions for the command line tool
Browse files Browse the repository at this point in the history
  • Loading branch information
robl committed Dec 29, 2010
1 parent fd9ba59 commit 13c8612
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ By default, the term extractor attempts to extract both ordinary nouns and prope

terms = TermExtract.extract(content, :types => :nnp)

## Command Line Tool

There is a command line tool that can be used for testing the term extractor. It is best used in conjunction with another tool to extract the relevent content (e.g. pismo) :

pismo http://www.bbc.co.uk/news/uk-politics-12085506 body | ruby -rubygems -e 'puts YAML.parse($stdin.read)[:body].value' | ./term-extract nnp | ruby -rubygems -e 'puts YAML.load($stdin.read)'

## Note on Patches/Pull Requests

* Fork the project.
Expand Down

0 comments on commit 13c8612

Please sign in to comment.