Class MotherAndPath

java.lang.Object
org.episteme.social.linguistics.loaders.tigerxml.theories.hobbs78.MotherAndPath

public class MotherAndPath extends Object
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 Details

    • MotherAndPath

      public MotherAndPath()
  • Method Details

    • setMother

      public void setMother(NT node)
    • getMother

      public NT getMother()
    • getPath

      public GraphNode getPath()
    • setPath

      public void setPath(GraphNode node)
    • getOneSide

      public List<GraphNode> 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.
    • getFirstNpOrSLike

      public static final MotherAndPath getFirstNpOrSLike(GraphNode my_node)
      Finds the first NP or S-like node above my_node and returns it as MotherAndPath.