com.iphrase.runtime.query.result
Class Voiceover

java.lang.Object
  |
  +--com.iphrase.runtime.query.result.Voiceover

public class Voiceover
extends java.lang.Object

Represent the voiceover details for a result set.

See Also:
ResultSet

Inner Class Summary
 class Voiceover.Respelling
          Represent the respelling that did or can take place for this query.
 class Voiceover.WordExpansion
          Represent a word expansion from one word to many expansions.
 
Method Summary
 java.lang.String[] getBackoffPhrases()
          Get the backoff phrases, for which constraints were backed off.
 java.lang.String[] getExpandedWords()
          Get the expanded words.
 java.lang.String[] getNoContentKnownConcepts()
          Get the known concepts from the query for which there is no indexed content.
 Voiceover.Respelling getRespelling()
          Get the respelling information that took place for this query result.
 java.lang.String[] getStopwords()
          Get the stopwords (ignored).
 Voiceover.WordExpansion[] getSynonymExpansions()
          Get the synonym expansions for this query result.
 boolean wasBackoff()
          Determine whether backoff occurred.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRespelling

public Voiceover.Respelling getRespelling()
Get the respelling information that took place for this query result.
Returns:
Voiceover.Respelling

getSynonymExpansions

public Voiceover.WordExpansion[] getSynonymExpansions()
Get the synonym expansions for this query result.
Returns:
Voiceover.WordExpansion array (0 elements if there are none)

getExpandedWords

public java.lang.String[] getExpandedWords()
Get the expanded words. This includes broadened, narrowed, related, and sibling words.
Returns:
String array (0 elements if there are none)

getStopwords

public java.lang.String[] getStopwords()
Get the stopwords (ignored).
Returns:
String array (0 elements if there are none)

wasBackoff

public boolean wasBackoff()
Determine whether backoff occurred.
Returns:
boolean true if backoff occurred

getBackoffPhrases

public java.lang.String[] getBackoffPhrases()
Get the backoff phrases, for which constraints were backed off.
Returns:
String array (0 elements if there are none)

getNoContentKnownConcepts

public java.lang.String[] getNoContentKnownConcepts()
Get the known concepts from the query for which there is no indexed content.
Returns:
String array (0 elements if there are none)

© Copyright 2005, 2006. IBM Corporation. All rights reserved.