Example #1
0
 public void setRanking(double dmp, double dms, double dml)
 {
     rankDMP      = new Ranking(word, dmp, distanceMeasureParagraphs);
     rankDMS      = new Ranking(word, dms, distanceMeasureSentences);
     rankDML      = new Ranking(word, dml, distanceMeasureLinear);
     rankCombined = new CombinedRanking(dmp, dms, dml);
 }
Example #2
0
 public ProximityWordFreq(string word, int frequency, int dmParagraph, int dmSentences, double dmLinear)
 {
     this.word                 = word;
     this.frequency            = frequency;
     distanceMeasureParagraphs = dmParagraph;
     distanceMeasureSentences  = dmSentences;
     distanceMeasureLinear     = dmLinear;
     rankDMP      = null;
     rankDMS      = null;
     rankDML      = null;
     rankCombined = null;
 }