sequence
Interface SequenceFeatureFunction
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- OneYwithXFeatureFunction, TwoYwithXFeatureFunction
public interface SequenceFeatureFunction
- extends Serializable
apply
SparseVector apply(SparseVector[] x,
int[] y)
- apply the feature function to an entire sequence of y's
apply
SparseVector apply(SparseVector[] x,
int ymt1,
int yt,
int t)
- apply the feature function to a pair of tags (label positions)
- Parameters:
x
- entire input sequenceytm1
- label at position t-1yt
- label at position tt
- position of interest. Should be 0<=t
wSize
int wSize()
Copyright © 2009. All Rights Reserved.