org.apache.uima.annotator.dict_annot.dictionary
Interface DictionaryMatch

All Known Implementing Classes:
DictionaryMatchImpl

public interface DictionaryMatch

The DictionaryMatch interface defines the access to a dictionary match.


Method Summary
 int getMatchLength()
          Returns the length of the match.
 EntryMetaData getMatchMetaData()
          Returns the dictionary match entry meta data.
 

Method Detail

getMatchMetaData

EntryMetaData getMatchMetaData()
Returns the dictionary match entry meta data.

Returns:
The dictionary match entry meta data is returned

getMatchLength

int getMatchLength()
Returns the length of the match.

Returns:
returns 1 for a single word match. In case of a multi word match, the multi word token count is returned.


Copyright © 2011. All Rights Reserved.