Class MotherAndPath
java.lang.Object
org.episteme.social.linguistics.loaders.tigerxml.theories.hobbs78.MotherAndPath
This class is a helper class for Hobbs78.
A MotherAndPath object consists of an NT, the mother, and one of its daughters, the path.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final MotherAndPathgetFirstNpOrSLike(GraphNode my_node) Finds the first NP or S-like node above my_node and returns it as MotherAndPath.getOneSide(boolean left) This method returns the daughters of mother that are located either to the right hand side or to the left hand side of path.getPath()voidvoid
-
Constructor Details
-
MotherAndPath
public MotherAndPath()
-
-
Method Details
-
setMother
-
getMother
-
getPath
-
setPath
-
getOneSide
-
getFirstNpOrSLike
Finds the first NP or S-like node above my_node and returns it as MotherAndPath.
-