Class SentenceStrategy
- java.lang.Object
-
- edu.kit.ipd.are.graphimprove.nlp.improvestrategies.SentenceStrategy
-
- All Implemented Interfaces:
GraphImproveStrategy
public class SentenceStrategy extends Object implements GraphImproveStrategy
The GraphImproveStrategy to improve the graph with the INodes of INodeType sentence- Author:
- dominik
-
-
Field Summary
Fields Modifier and Type Field Description static StringSENTENCE_NODE_TYPEstatic StringSENTENCE_NUMBER_ATTRIBUTEstatic StringSENTENCE_TO_SENCTENCE_ARC_TYPEstatic StringWORD_TO_SENCTENCE_ARC_TYPE
-
Constructor Summary
Constructors Constructor Description SentenceStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateArcTypes(edu.kit.ipd.parse.luna.graph.IGraph graph)voidcreateNodeTypes(edu.kit.ipd.parse.luna.graph.IGraph graph)voidexecuteImprovement(edu.kit.ipd.parse.luna.graph.IGraph graph)
-
-
-
Field Detail
-
SENTENCE_NODE_TYPE
public static final String SENTENCE_NODE_TYPE
- See Also:
- Constant Field Values
-
SENTENCE_TO_SENCTENCE_ARC_TYPE
public static final String SENTENCE_TO_SENCTENCE_ARC_TYPE
- See Also:
- Constant Field Values
-
WORD_TO_SENCTENCE_ARC_TYPE
public static final String WORD_TO_SENCTENCE_ARC_TYPE
- See Also:
- Constant Field Values
-
SENTENCE_NUMBER_ATTRIBUTE
public static final String SENTENCE_NUMBER_ATTRIBUTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createArcTypes
public void createArcTypes(edu.kit.ipd.parse.luna.graph.IGraph graph)
- Specified by:
createArcTypesin interfaceGraphImproveStrategy
-
createNodeTypes
public void createNodeTypes(edu.kit.ipd.parse.luna.graph.IGraph graph)
- Specified by:
createNodeTypesin interfaceGraphImproveStrategy
-
executeImprovement
public void executeImprovement(edu.kit.ipd.parse.luna.graph.IGraph graph)
- Specified by:
executeImprovementin interfaceGraphImproveStrategy
-
-