0.0
No commit activity in last 3 years
No release in over 3 years
Part of speech tagger based off Mark Watsons code
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 1.2.9
 Project Readme

Part Of Speech Tagger¶ ↑

This is a slightly modified version of Mark Watson’s Part of Speech Tagger (www.markwatson.com/opensource/)

I’ve just cleaned it up a little bit and packaged it into a gem.

How To Install¶ ↑

gem sources -a http://gemcutter.org
sudo gem install part_of_speech

You can download a lexicon list from github.com/downloads/reddavis/Part-Of-Speech/lexicon.txt

How To Use¶ ↑

require 'rubygems'
require 'part_of_speech'

text = "This is some text that I want analyzing"

PartOfSpeech.analyze(lexicon_path, text)
  #=> [["This", "DT"], ["is", "VBZ"], ["some", "DT"], ["text", "NN"], ["that", "IN"], ["I", "PRP"], ["want", "VBP"], ["analyzing", "VBG"]]

What Do These Letters Mean?¶ ↑

kobesearch.cpan.org/htdocs/Lingua-EN-Tagger/README.html

See LICENSE for details.