Package de.julielab.jnet.tagger
Class Tags
- java.lang.Object
-
- de.julielab.jnet.tagger.Tags
-
public class Tags extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(String label)cc.mallet.types.LabelAlphabetgetAlphabet()gets you the LabelAlphabet representation of the tags.String[]getTags()gets you the all the labels as a string array.intnrTags()
-
-
-
Field Detail
-
type
public String type
-
-
Constructor Detail
-
Tags
public Tags(String filename)
the constructor.- Parameters:
filename- full path to file in which the tags are stored. One tag each line. Make sure, there is also an outside tag "O". Further you should check, that either there is always a begin tag "B-" or never, as this is not counterchecked by this module.
-
-