Class DocumentMappingResult


  • public class DocumentMappingResult
    extends java.lang.Object
    This class is thought to be used as an overall result when all gene mentions of a document are mapped in a single process. Until now, the GeneMapper does not do this but uses this class in preparation of possible future work.
    Author:
    faessler
    • Field Detail

      • docId

        public java.lang.String docId
      • candidateRetrievalTime

        public long candidateRetrievalTime
      • disambiguationTime

        public long disambiguationTime
    • Constructor Detail

      • DocumentMappingResult

        public DocumentMappingResult()
    • Method Detail

      • getAllSynHits

        public java.util.List<SynHit> getAllSynHits()
        Returns the SynHits of all mention mapping results. Please note that this method is used at several places in a context where the DocumentMappingResult only contains the result of a single GeneMention. Thus, as soon as a real document-wide mapping has been implemented, the semantics of this method could be different at different places (single MentionMappingResults vs. MentionMappingResults of whole documents).
        Returns: