Project

rstt

0.0
No commit activity in last 3 years
No release in over 3 years
another ruby wrapper for Stuttgarter Tree Tagger
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0

Runtime

active_support
>= 0
>= 0
>= 0
>= 0
 Project Readme

TreeTagger for Ruby

!!! actual it is out of maintainance !!!

DESCRIPTION

The Ruby based wrapper for the TreeTagger by Helmut Schmid. Check it out if you are interested in Natural Language Processing (NLP) and Human Language Technology (HLT).

INSTALLATION + REQUIREMENTS

Before you install the treetagger-ruby package please ensure you have downloaded and installe the TreeTagger itself.
(And pls, respect his terms of license)

	gem install rstt
	rstt -c /path/to/your/TreeTagger/

USAGE

  1. You have some class, where you want to use Rstt ..
    the input is given by: Rstt.set_input lang: lang, content: content with default language 'en';
    accessible languages could be found by Rstt.language_codes;
    installed languages are stored in Rstt::LANGUAGES (cause it could be different)

     class Foo
     	include Rstt
     	
     	def pos_tagging(lang,content)
     		Rstt.set_input lang: lang, content: content
     		Rstt.preprocessing
     		Rstt.tagging
     		processed_ data = Rstt.tagged
     	end
     end
    

    that's all, the processed data are accessible via Rstt.tagged,
    it is an Array, thereby each element self is an Array with following elements

    1. the input word itself
    2. the word class
    3. the lemma of the input; depends on your input language
  2. or via CLI, check usage with rstt -h

LICENSE

see License.txt