Uses of Class
org.episteme.social.linguistics.loaders.tigerxml.GraphNode
Packages that use GraphNode
Package
Description
Standard TigerXML loader for linguistic corpora.
Provides the
module.
invalid reference
org.episteme.social.ml.tigerxml.core
Provides the
module.
invalid reference
org.episteme.social.ml.tigerxml.theories.hobbs78
Provides the
module.
invalid reference
org.episteme.social.ml.tigerxml.theories.strube02
Provides the
module.
invalid reference
org.episteme.social.ml.tigerxml.tools
-
Uses of GraphNode in org.episteme.social.linguistics.loaders.tigerxml
Subclasses of GraphNode in org.episteme.social.linguistics.loaders.tigerxmlModifier and TypeClassDescriptionclassRepresents a non-terminal node in a syntax tree.classRepresents a terminal node in a syntax treeMethods in org.episteme.social.linguistics.loaders.tigerxml that return GraphNodeModifier and TypeMethodDescriptionFinds and returns aGraphNodein this sentence or returnsnullif there is noGraphNodewith the given ID.Path.getFirst()Returns the first GraphNode in this Path.Corpus.getGraphNode(String id) Sentence.getGraphNode(String id) Returns theGraphNodewhich has the given ID.Corpus.getGraphNodeBySpan(String span) Finds a node by its MMAX span string.Path.getLast()Returns the last GraphNode in this Path.Path.getNext()Returns the next GraphNode in this Path relative to the current position of this Path (iteration based method).Path.getPrev()Returns the previous GraphNode in this Path relative to the current position of this Path (iteration based method).Methods in org.episteme.social.linguistics.loaders.tigerxml that return types with arguments of type GraphNodeModifier and TypeMethodDescriptionNT.getAllDaughters()NT.getAllDaughtersByLabel(String label) Corpus.getAllGraphNodes()Sentence.getAllGraphNodes()Returns allGraphNodeobjects contained in this sentence.NT.getDaughters()Returns primary daughters sorted by linear precedence.NT.getDaughtersByLabel(String label) GraphNode.getDescendantsByLabel(String label) Returns all descendants (recursive) that have the given edge label to their mother.NT.getSecDaughters()Methods in org.episteme.social.linguistics.loaders.tigerxml with parameters of type GraphNodeModifier and TypeMethodDescriptionvoidNT.addDaughter(GraphNode daughter) voidNT.addSecDaughter(GraphNode daughter) booleanChecks if this node occurs after another node in the sentence.booleanChecks if this node occurs before another node in the sentence.booleanstatic final PathPath.getPathToTop(GraphNode node) This static method creates a path leading from the input node to the root node of the sentence.static final PathPath.getPathToTop(GraphNode node, int verbosity) This static method creates a path leading from the input node to the root node of the sentence.booleanGraphNode.isDominatedBy(GraphNode node) static final PathThis static method returns the shortest path that connects the two nodes. -
Uses of GraphNode in org.episteme.social.linguistics.loaders.tigerxml.core
Subclasses of GraphNode in org.episteme.social.linguistics.loaders.tigerxml.coreMethods in org.episteme.social.linguistics.loaders.tigerxml.core with parameters of type GraphNodeModifier and TypeMethodDescriptionvoidTransfers the stored information to the newly created graph node.voidVNode.addSecDaughter(GraphNode secDaughter, String secEdge) Adds a secondary daughter and its edge label. -
Uses of GraphNode in org.episteme.social.linguistics.loaders.tigerxml.theories.hobbs78
Methods in org.episteme.social.linguistics.loaders.tigerxml.theories.hobbs78 that return GraphNodeModifier and TypeMethodDescriptionMotherAndPath.getPath()static final GraphNodeHobbs78.hobbsSearch(GraphNode poss_pron) Hobbs' Algorithm (adapted to Tiger/Negra Syntax)BreadthFirstSearcher.searchAntecedent()Methods in org.episteme.social.linguistics.loaders.tigerxml.theories.hobbs78 that return types with arguments of type GraphNodeModifier and TypeMethodDescriptionMotherAndPath.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.Methods in org.episteme.social.linguistics.loaders.tigerxml.theories.hobbs78 with parameters of type GraphNodeModifier and TypeMethodDescriptionstatic final MotherAndPathMotherAndPath.getFirstNpOrSLike(GraphNode my_node) Finds the first NP or S-like node above my_node and returns it as MotherAndPath.static final GraphNodeHobbs78.hobbsSearch(GraphNode poss_pron) Hobbs' Algorithm (adapted to Tiger/Negra Syntax)voidConstructor parameters in org.episteme.social.linguistics.loaders.tigerxml.theories.hobbs78 with type arguments of type GraphNodeModifierConstructorDescriptionBreadthFirstSearcher(T my_pronoun, NT my_mother, List<GraphNode> nodes, boolean my_np_or_s_between, boolean my_go_below) Creates a new BreadthFirstSearcher object. -
Uses of GraphNode in org.episteme.social.linguistics.loaders.tigerxml.theories.strube02
Methods in org.episteme.social.linguistics.loaders.tigerxml.theories.strube02 with parameters of type GraphNodeModifier and TypeMethodDescriptionstatic StringStrube02.getAgreement(GraphNode gn) Comment me!static StringStrube02.getGramRole(GraphNode gn) Comment me!static StringReturns the NP form of a givenGraphNode. -
Uses of GraphNode in org.episteme.social.linguistics.loaders.tigerxml.tools
Methods in org.episteme.social.linguistics.loaders.tigerxml.tools with type parameters of type GraphNodeModifier and TypeMethodDescriptionThis static method accepts a list ofGraphNodesand sorts it according to linear precedence.Methods in org.episteme.social.linguistics.loaders.tigerxml.tools that return GraphNodeModifier and TypeMethodDescriptionSyntaxTools.getLeftmostConstituent(GraphNode verbal_node) Returns the leftmost constituent of the Mittelfeld that belongs to the verbal node.SyntaxTools.getSubject(GraphNode node) Returns the subject of the sentence the node belongs to.Methods in org.episteme.social.linguistics.loaders.tigerxml.tools that return types with arguments of type GraphNodeModifier and TypeMethodDescriptionSyntaxGeneralizer.getDaughtersByGeneralLabel(NT node, String gen_label) Returns a List of the daughter nodes with a given general edge label.SyntaxGeneralizer.getDescendantsByGeneralLabel(NT node, String gen_label) Returns a List of the descendant nodes with a given general edge label.Methods in org.episteme.social.linguistics.loaders.tigerxml.tools with parameters of type GraphNodeModifier and TypeMethodDescriptionSyntaxTools.getDominatingClausalNode(GraphNode node) Returns the nearest dominating clausal node of this GraphNode.SyntaxGeneralizer.getDominatingNode(GraphNode node, String gen_cat) Returns the nearest dominating node that has the general category gen_cat, and is not identical with the input node itself.SyntaxTools.getDominatingNominalNode(GraphNode node) Returns the nearest dominating nominal node of this GraphNode.SyntaxGeneralizer.getGrammaticalFunction(GraphNode node) Returns the (general) grammatical function of this node.SyntaxTools.getHeadWord(GraphNode node) Returns the head word of the constituent.SyntaxTools.getLeftmostConstituent(GraphNode verbal_node) Returns the leftmost constituent of the Mittelfeld that belongs to the verbal node.SyntaxTools.getPpSignature(GraphNode node) Returns the PP signature of the clause or NP the node belongs to.SyntaxTools.getPreposition(GraphNode pp) Returns the preposition of a PPSyntaxTools.getSubject(GraphNode node) Returns the subject of the sentence the node belongs to.booleanSyntaxTools.haveSameArgumentDomain(GraphNode verbal_node, GraphNode other_node) Returns true if the verbal node has the same argument domain as the other node.static booleanIndexFeatures.indexFeaturesMatch(GraphNode node1, GraphNode node2) static booleanIndexFeatures.indexFeaturesMatch(GraphNode node1, GraphNode node2, int verbosity) returns true if the two GraphNodes agree in their index features.static booleanSyntaxTools.isApposition(GraphNode node) booleanSyntaxGeneralizer.isDominatedBy(GraphNode node, String gen_cat) Returns true if there is a dominating node that has the general category "cat"static final booleanSyncMMAX.isMarkable(GraphNode node) Defines the concept of a markable according to the MMAX guidelines.booleanSyntaxTools.occursInNominalContext(GraphNode node) Returns true if the nearest dominating clausal node is nearer than the nearest dominating nominal node.Constructors in org.episteme.social.linguistics.loaders.tigerxml.tools with parameters of type GraphNodeModifierConstructorDescriptionIndexFeatures(GraphNode node) IndexFeatures(GraphNode node, int verbosity)