Class CorpusDocumentAnnotationSubannotationsZScores

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    @Path("/CorpusDocumentAnnotationSubannotationsZScores")
    public class CorpusDocumentAnnotationSubannotationsZScores
    extends AbstractOOPCacheableServlet
    See Also:
    Serialized Form
    • Constructor Detail

      • CorpusDocumentAnnotationSubannotationsZScores

        public CorpusDocumentAnnotationSubannotationsZScores()
    • Method Detail

      • doGet

        @GET
        @Produces("application/json; charset=utf-8")
        public String doGet​(@QueryParam("TargetCorpus")
                            String targetCorpus,
                            @QueryParam("Corpus")
                            String corpus,
                            @QueryParam("Document")
                            String document,
                            @QueryParam("Annotation")
                            String annotation,
                            @QueryParam("AggregateName")
                            String aggregateName)
                     throws com.fasterxml.jackson.core.JsonProcessingException,
                            IOException,
                            javax.servlet.ServletException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
        IOException
        javax.servlet.ServletException
      • calculateZSubScores

        protected void calculateZSubScores​(com.fasterxml.jackson.databind.node.ObjectNode corpusAggregates,
                                           com.fasterxml.jackson.databind.node.ObjectNode documentAggregates,
                                           String annotation,
                                           String aggregateName,
                                           com.fasterxml.jackson.databind.node.ArrayNode retval)
      • getSubscoreFromCorpusAggregate

        protected com.fasterxml.jackson.databind.node.ObjectNode getSubscoreFromCorpusAggregate​(com.fasterxml.jackson.databind.node.ObjectNode corpusAggregates,
                                                                                                String score,
                                                                                                String subscore)