org.apache.uima.annotator.regex
Interface ConceptFileParser

All Known Implementing Classes:
ConceptFileParser_impl

public interface ConceptFileParser


Method Summary
 Concept[] parseConceptFile(java.lang.String conceptFilePathName, java.io.InputStream conceptFileStream)
          parse the XML concepts file and create the object representation for the concepts and rules.
 

Method Detail

parseConceptFile

Concept[] parseConceptFile(java.lang.String conceptFilePathName,
                           java.io.InputStream conceptFileStream)
                           throws org.apache.uima.resource.ResourceInitializationException
parse the XML concepts file and create the object representation for the concepts and rules. To parse the XML concept file, XMLBeans are used.

Parameters:
conceptFilePathName - XML concepts file path name
conceptFileStream - XML concept file stream
Returns:
returns a Concept[] that contains the object representation of all concepts
Throws:
org.apache.uima.resource.ResourceInitializationException - in case of parsing errors.


Copyright © 2011. All Rights Reserved.