edu.ucdenver.ccp.craft.uima.cr
Class CcpCraftCollectionReaderTest

java.lang.Object
  extended by edu.ucdenver.ccp.craft.uima.cr.CcpCraftCollectionReaderTest

public class CcpCraftCollectionReaderTest
extends java.lang.Object

Author:
Colorado Computational Pharmacology, UC Denver; ccpsupport@ucdenver.edu

Constructor Summary
CcpCraftCollectionReaderTest()
           
 
Method Summary
 void testAllConceptsCollectionReader_CCP_fromXmlDescriptor()
           
 void testAllConceptsCollectionReader_CCP()
           
 void testTextOnlyCollectionReader_CCP_DevSet()
           
 void testTextOnlyCollectionReader_CCP()
           
 void testTextOnlyCollectionReader_nullConceptTypeInput()
           
 void writeDescriptor()
          Metadata for the CCP XML descriptor:
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CcpCraftCollectionReaderTest

public CcpCraftCollectionReaderTest()
Method Detail

testTextOnlyCollectionReader_CCP

public void testTextOnlyCollectionReader_CCP()
                                      throws org.apache.uima.UIMAException,
                                             java.io.IOException
Throws:
org.apache.uima.UIMAException
java.io.IOException

testTextOnlyCollectionReader_CCP_DevSet

public void testTextOnlyCollectionReader_CCP_DevSet()
                                             throws org.apache.uima.UIMAException,
                                                    java.io.IOException
Throws:
org.apache.uima.UIMAException
java.io.IOException

testTextOnlyCollectionReader_nullConceptTypeInput

public void testTextOnlyCollectionReader_nullConceptTypeInput()
                                                       throws org.apache.uima.UIMAException,
                                                              java.io.IOException
Throws:
org.apache.uima.UIMAException
java.io.IOException

testAllConceptsCollectionReader_CCP

public void testAllConceptsCollectionReader_CCP()
                                         throws org.apache.uima.UIMAException,
                                                java.io.IOException
Throws:
org.apache.uima.UIMAException
java.io.IOException

testAllConceptsCollectionReader_CCP_fromXmlDescriptor

public void testAllConceptsCollectionReader_CCP_fromXmlDescriptor()
                                                           throws org.apache.uima.UIMAException,
                                                                  java.io.IOException
Throws:
org.apache.uima.UIMAException
java.io.IOException

writeDescriptor

public void writeDescriptor()
                     throws org.apache.uima.resource.ResourceInitializationException,
                            java.io.IOException,
                            org.xml.sax.SAXException
Metadata for the CCP XML descriptor:
            CCP CRAFT Collection Reader
        This collection reader provides an entry point to process the concept annotations in the CRAFT corpus in the context of the CCP type system and the syntactic (treebank) annotations in the context of the ClearTK type system.
        v0.9
        UC Denver - Colorado Computational Pharmacology
 
Capabilities for the CCP XML descriptor:
 
       
         
         
           org.cleartk.syntax.constituent.type.TreebankNode
           org.cleartk.syntax.constituent.type.TopTreebankNode
           org.cleartk.syntax.constituent.type.TerminalTreebankNode
           org.cleartk.token.type.Sentence
           edu.ucdenver.ccp.nlp.core.uima.annotation.CCPTextAnnotation
           edu.ucdenver.ccp.nlp.core.uima.annotation.CCPDocumentInformation
           org.cleartk.token.type.Token
         
         
       
     
 

Throws:
org.apache.uima.resource.ResourceInitializationException
java.io.IOException
org.xml.sax.SAXException