edu.mit.csail.brill
Class BTagger

java.lang.Object
  |
  +--edu.mit.csail.brill.BTagger

public class BTagger
extends Object

The raw JNI wrapper around Eric Brill's part-of-speech tagger. It provides base functionality for tagging English sentences, but contains no additional functionality for interpreting and accessing results. BTagger is generally not used in favor of BrillTagger, which provides a much more complete API.

Author:
Jimmy Lin

Constructor Summary
BTagger()
           
 
Method Summary
 void destroy()
          Destroys the tagger.
 void setup()
          Initializes the tagger with current parameters.
 String tag(String sentence)
          Part-of-speech tags a sentence.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTagger

public BTagger()
Method Detail

setup

public void setup()
Initializes the tagger with current parameters.


destroy

public void destroy()
Destroys the tagger.


tag

public String tag(String sentence)
Part-of-speech tags a sentence.