fcmodeler.pathbinder
Class SentenceScorer

java.lang.Object
  extended by fcmodeler.pathbinder.SentenceScorer

public class SentenceScorer
extends java.lang.Object

Author:
Tuan Cao (modified by Jing Ding) fcmodeler.pathbinder MetNet

Constructor Summary
SentenceScorer()
           
 
Method Summary
 double scoreSentence(java.lang.String sen)
          Calculate the probability of a sentence describing an interaction.
 void scoreSentences(PbSentence[] sens, java.util.Set[] tid)
          Score a list of sentences based on their interaction scores.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SentenceScorer

public SentenceScorer()
Method Detail

scoreSentence

public double scoreSentence(java.lang.String sen)
Calculate the probability of a sentence describing an interaction.

Parameters:
sen -
Returns:

scoreSentences

public void scoreSentences(PbSentence[] sens,
                           java.util.Set[] tid)
Score a list of sentences based on their interaction scores.

Parameters:
sens -
tid -