Class AnnotationFileMapper
- java.lang.Object
-
- de.julielab.jcore.reader.bionlpformat.utils.AnnotationFileMapper
-
public class AnnotationFileMapper extends Object
//TODO describe purpose of class- Author:
- buyko
-
-
Constructor Summary
Constructors Constructor Description AnnotationFileMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumCorefExpressions()Returns the number coreference expressions mapped by this mapper at the time of the call.intgetNumCorefRelations()Returns the number of coreference relations mapped by this mapper at the time of the call.voidmapEventFile(Map<String,Annotation> mappedProteins, BufferedReader bufferedReader, org.apache.uima.jcas.JCas cas)Map<String,Annotation>mapProteinFile(BufferedReader bufferedReader, org.apache.uima.jcas.JCas cas)
-
-
-
Method Detail
-
mapEventFile
public void mapEventFile(Map<String,Annotation> mappedProteins, BufferedReader bufferedReader, org.apache.uima.jcas.JCas cas) throws IOException
- Throws:
IOException
-
mapProteinFile
public Map<String,Annotation> mapProteinFile(BufferedReader bufferedReader, org.apache.uima.jcas.JCas cas) throws IOException
- Throws:
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:
-
-