Class AnnotationFileMapper


  • public class AnnotationFileMapper
    extends java.lang.Object
    //TODO describe purpose of class
    Author:
    buyko
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getNumCorefExpressions()
      Returns the number coreference expressions mapped by this mapper at the time of the call.
      int getNumCorefRelations()
      Returns the number of coreference relations mapped by this mapper at the time of the call.
      void mapEventFile​(java.util.Map<java.lang.String,​de.julielab.jcore.types.Annotation> mappedProteins, java.io.BufferedReader bufferedReader, org.apache.uima.jcas.JCas cas)  
      java.util.Map<java.lang.String,​de.julielab.jcore.types.Annotation> mapProteinFile​(java.io.BufferedReader bufferedReader, org.apache.uima.jcas.JCas cas)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationFileMapper

        public AnnotationFileMapper()
    • Method Detail

      • mapEventFile

        public void mapEventFile​(java.util.Map<java.lang.String,​de.julielab.jcore.types.Annotation> mappedProteins,
                                 java.io.BufferedReader bufferedReader,
                                 org.apache.uima.jcas.JCas cas)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • mapProteinFile

        public java.util.Map<java.lang.String,​de.julielab.jcore.types.Annotation> mapProteinFile​(java.io.BufferedReader bufferedReader,
                                                                                                       org.apache.uima.jcas.JCas cas)
                                                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getNumCorefRelations

        public int getNumCorefRelations()
        Returns the number of coreference relations mapped by this mapper at the time of the call.
        Returns:
      • getNumCorefExpressions

        public int getNumCorefExpressions()
        Returns the number coreference expressions mapped by this mapper at the time of the call.
        Returns: