Class AnCoraPOSStats
- java.lang.Object
-
- edu.stanford.nlp.international.spanish.pipeline.AnCoraPOSStats
-
public class AnCoraPOSStats extends Object
A utility to build unigram part-of-speech tagging data from XML corpus files from the AnCora corpus. The constructed tagger is used to tag the constituent tokens of multi-word expressions, which have no tags in the AnCora corpus. For invocation options, run the program with no arguments.- Author:
- Jon Gauthier
-
-
Constructor Summary
Constructors Constructor Description AnCoraPOSStats(List<File> fileList, String outputPath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TwoDimensionalCounter<String,String>getUnigramTagger()static voidmain(String[] args)voidprocess()
-
-
-
Method Detail
-
process
public void process() throws IOException- Throws:
IOException
-
getUnigramTagger
public TwoDimensionalCounter<String,String> getUnigramTagger()
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
-