edu.northwestern.at.wordhoard.tools
Interface TaggingDataProvider

All Known Implementing Classes:
MartinProvider

public interface TaggingDataProvider

A tagging data provider.


Method Summary
 java.lang.String[] getMorph(org.w3c.dom.Element el, java.lang.String wordTag)
          Gets the morphology data for a word.
 

Method Detail

getMorph

java.lang.String[] getMorph(org.w3c.dom.Element el,
                            java.lang.String wordTag)
                            throws java.lang.Exception
Gets the morphology data for a word.

Parameters:
el - "w" element.
wordTag - Word tag.
Returns:
Morphology tags for the word: An array of two strings: The lemma and pos tags. Returns null if no data is available or an error was reported. The entire array may be null, or any element of it may be null.
Throws:
java.lang.Exception