org.jactr.modules.pm.common.symbol
Class DefaultStringSymbolGrounder
java.lang.Object
org.jactr.modules.pm.common.symbol.DefaultStringSymbolGrounder
- All Implemented Interfaces:
- ISymbolGrounder
public class DefaultStringSymbolGrounder
- extends java.lang.Object
- implements ISymbolGrounder
default symbol grounder that merely returns the string version of the "text"
properity (if it exists) otherwise, it returns the string version of the
percepts identifier.
- Author:
- harrison
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStringSymbolGrounder
public DefaultStringSymbolGrounder()
getSymbolForPercept
public java.lang.Object getSymbolForPercept(org.commonreality.object.IAfferentObject percept,
IPerceptualModule perceivingModule,
IDeclarativeModule declarativeModule)
- Description copied from interface:
ISymbolGrounder
- returns a consistent mapping to a percept value. The returned value may be
a chunk, a string, or what-have-you. For spreading of activation purposes,
a chunk is ideal.
- Specified by:
getSymbolForPercept in interface ISymbolGrounder
- Returns: