Class DocumentCtx


  • public class DocumentCtx
    extends Object
    Hold sentence-context for rhetorical sentence classification.
    • Method Detail

      • getGateDoc

        public gate.Document getGateDoc()
      • getClassNameRhet

        public String getClassNameRhet()
      • getClassNameAspect

        public String getClassNameAspect()
      • getClassNameMainCit

        public String getClassNameMainCit()
      • getClassNameSecondaryCit

        public String getClassNameSecondaryCit()
      • getClassNameSummary

        public Double getClassNameSummary()
      • getAgreementRhet

        public String getAgreementRhet()
      • getAgreementAspect

        public String getAgreementAspect()
      • getAgreementMainCit

        public String getAgreementMainCit()
      • getAgreementSecondaryCit

        public String getAgreementSecondaryCit()
      • getAgreementSummary

        public String getAgreementSummary()
      • getMaxTFvalue

        public Double getMaxTFvalue()
      • getInstanceWeight

        public Double getInstanceWeight()
      • setInstanceWeight

        public void setInstanceWeight​(Double instanceWeight)
      • computeAverageTFIDFofTerms

        public static Double computeAverageTFIDFofTerms​(DocumentCtx ctx,
                                                        gate.Annotation sentence)
      • computeTFIDFsimilarityOfSentences

        public static Double computeTFIDFsimilarityOfSentences​(DocumentCtx ctx,
                                                               gate.Annotation sentence1,
                                                               gate.Annotation sentence2)