org.jactr.modules.pm.vocal
Class AbstractVocalModule
java.lang.Object
org.jactr.core.module.AbstractModule
org.jactr.core.module.asynch.AbstractAsynchronousModule
org.jactr.modules.pm.AbstractPerceptualModule
org.jactr.modules.pm.vocal.AbstractVocalModule
- All Implemented Interfaces:
- IAsynchronousModule, IModule, IInitializable, IInstallable, IParameterized, IPerceptualModule, IVocalModule
- Direct Known Subclasses:
- DefaultVocalModule6
public class AbstractVocalModule
- extends AbstractPerceptualModule
- implements IVocalModule
abstract implementation that
- Author:
- harrison
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractVocalModule
public AbstractVocalModule()
getPreparedVocalization
public java.lang.String getPreparedVocalization()
- Description copied from interface:
IVocalModule
- returns the currently prepared, but not vocalized speach
- Specified by:
getPreparedVocalization in interface IVocalModule
- Returns:
getPreparationTimeEquation
public IVocalPreparationTimeEquation getPreparationTimeEquation()
- Specified by:
getPreparationTimeEquation in interface IVocalModule
getExecutionTimeEquation
public IVocalExecutionTimeEquation getExecutionTimeEquation()
- Specified by:
getExecutionTimeEquation in interface IVocalModule
getProcessingTimeEquation
public IVocalProcessingTimeEquation getProcessingTimeEquation()
- Specified by:
getProcessingTimeEquation in interface IVocalModule
getVocalBuffer
public IVocalActivationBuffer getVocalBuffer()
- Specified by:
getVocalBuffer in interface IVocalModule
getSpeakChunkType
public IChunkType getSpeakChunkType()
- Specified by:
getSpeakChunkType in interface IVocalModule
getSubvocalizeChunkType
public IChunkType getSubvocalizeChunkType()
- Specified by:
getSubvocalizeChunkType in interface IVocalModule
reset
public void reset()
- Description copied from interface:
IVocalModule
- reset the module
- Specified by:
reset in interface IVocalModule
prepare
public void prepare(ChunkTypeRequest request,
java.lang.String text,
boolean isVocalization)
- actually prepare the text (controlled by the buffer)
- Specified by:
prepare in interface IVocalModule
- Parameters:
text -
execute
public void execute(org.commonreality.identifier.IIdentifier commandId,
boolean isVocalization)
- Specified by:
execute in interface IVocalModule
initialize
public void initialize()
- Description copied from interface:
IModule
- this will be called after all the modules have been installed permitting
the module to attach listeners to other modules. if you want to get access
to chunks,types, or productions before the model runs, attach a model
listener and do that during the modelStarted call
- Specified by:
initialize in interface IModule- Specified by:
initialize in interface IInitializable- Overrides:
initialize in class AbstractPerceptualModule
getVocalizationSource
public org.commonreality.object.IEfferentObject getVocalizationSource()
getExecutionTimeResolution
public IVocalModule.ExecutionTimeResolution getExecutionTimeResolution()
- Specified by:
getExecutionTimeResolution in interface IVocalModule
setExecutionTimeResolution
public void setExecutionTimeResolution(IVocalModule.ExecutionTimeResolution resolution)