org.itc.irst.tcc.sre.kernel.expl
Class ShallowLinguisticMapping
java.lang.Object
org.itc.irst.tcc.sre.kernel.expl.ContextMapping
org.itc.irst.tcc.sre.kernel.expl.ShallowLinguisticMapping
- All Implemented Interfaces:
- Mapping
public class ShallowLinguisticMapping
- extends ContextMapping
TO DO
- Since:
- 1.0
- Version:
- %I%, %G%
- Author:
- Claudio Giuliano
Method Summary |
Vector[] |
map(java.lang.Object x,
FeatureIndex[] index)
|
void |
setParameters(java.util.Properties parameters)
Set the parameters to the mapping. |
int |
subspaceCount()
Returns the number of active subspaces in this context mapping. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
static org.apache.log4j.Logger logger
- Define a static logger variable so that it references the
Logger instance named
ShallowLinguisticMapping
.
localContextMapping
private LocalContextMapping localContextMapping
globalContextMapping
private GlobalContextMapping globalContextMapping
ShallowLinguisticMapping
public ShallowLinguisticMapping()
setParameters
public void setParameters(java.util.Properties parameters)
- Description copied from interface:
Mapping
- Set the parameters to the mapping.
- Parameters:
parameters
- the specified parameters
subspaceCount
public int subspaceCount()
- Description copied from class:
ContextMapping
- Returns the number of active subspaces in this context mapping.
- Specified by:
subspaceCount
in class ContextMapping
- Returns:
- the number of active subspaces.
map
public Vector[] map(java.lang.Object x,
FeatureIndex[] index)
throws java.lang.IllegalArgumentException
- Specified by:
map
in class ContextMapping
- Throws:
java.lang.IllegalArgumentException