PKDDialogue.TurnSemanticAnalyzer Class
Inherits from LSAModule.SemanticAnalyzer. Adds methods specifically for dealing with PKDDialogue Turns

Access: Public
Base Classes: SemanticAnalyzer
  Members Description  
    TurnSemanticAnalyzer    
    GetTopNMatchingTurns Calculate cosine between this turn and all the turns in the collection. Return a list of turns. We are probably interested in the cosine value in each turns sortingValue field to test the correlation b/w the cosine and the judge's ratings

 
    GetTopNMatchingTurnsByDecompositionRelevanceToQuery Calculate relevance between this turn and all the turns in the collection by decomposing each word of the query into a span and projecting each document into the span. Return a list of turns. We are probably interested in the cosine value in each turns sortingValue field to test the correlation b/w the cosine and the judge's ratings

 
    GetTopNMatchingTurnsByDecompositionRelevanceToDocument Instead of creating a basis by projecting words in the query, we create a basis by projecting words in each document. Then we project the query into that basis. So this is more of a backwards looking rhetorical relationship. We expect the question to be highly relevant to the answer, and not add any information in particular to the answer.

 
    GetTopNMatchingTurnsByDecompositionBidirectionalRelevance