|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.columbia.cs.ref.algorithm.feature.generation.FeatureGenerator<E>
edu.columbia.cs.ref.algorithm.feature.generation.CandidateSentenceFeatureGenerator<SequenceFS<Span>>
edu.columbia.cs.ref.algorithm.feature.generation.impl.EntitySplitsFG
public class EntitySplitsFG
The Class EntitySplitsFG divides each candidate sentence according to
the positions of the entities.
The sentence is divided into 5 spans: (i) before the first entity; (ii) the first entity;
(iii) between the two entities; (iv) the second entity; (v) after the second entity. Some
of these spans may be empty.
This class receives as input another feature generator that must produce the original
tokenization.
Constructor Summary | |
---|---|
EntitySplitsFG(FeatureGenerator<SequenceFS<Span>> tokenizer)
Instantiates a new entity splits fg. |
Method Summary |
---|
Methods inherited from class edu.columbia.cs.ref.algorithm.feature.generation.FeatureGenerator |
---|
generateFeatures |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntitySplitsFG(FeatureGenerator<SequenceFS<Span>> tokenizer)
tokenizer
- the tokenizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |