Fido Alpha 3.2

fido.linguistic.components
Class ResolvedNoun

java.lang.Object
  |
  +--fido.linguistic.components.ResolvedNoun
All Implemented Interfaces:
Noun

public class ResolvedNoun
extends java.lang.Object
implements Noun

Represents an object in the ObjectTree that a noun was resolved to. The SentenceComponents class identifies each noun in the input into a subclass of Noun: NounPhrase, ProperNounList, or Pronoun. The Resolver module takes each of these classes and finds one, and only one, object id that the noun represents.

See Also:
ObjectTable, Resolver

Constructor Summary
ResolvedNoun(int id)
          Creates a new ResolvedNoun with a given object id.
 
Method Summary
 int getObjectId()
          Returns the ObjectId for this noun.
 void setObjectId(int id)
          Sets the ObjectId for this noun.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResolvedNoun

public ResolvedNoun(int id)
Creates a new ResolvedNoun with a given object id.

Method Detail

getObjectId

public int getObjectId()
Returns the ObjectId for this noun.

Returns:
The ObjectId for this noun.

setObjectId

public void setObjectId(int id)
Sets the ObjectId for this noun.

Parameters:
id - The ObjectId for this noun.

Fido Alpha 3.2