public class PredicateArgumentHelpers extends Object
Constructor and Description |
---|
PredicateArgumentHelpers() |
Modifier and Type | Method and Description |
---|---|
static List<Constituent> |
getArgumentConstituents(Constituent predicate) |
static List<Relation> |
getArguments(Constituent predicate) |
static Constituent |
getPredicate(Constituent argument) |
static int |
getPredicatePosition(Constituent argument)
Assumes that a predicate is a single word.
|
public static Constituent getPredicate(Constituent argument)
public static int getPredicatePosition(Constituent argument)
argument
- public static List<Relation> getArguments(Constituent predicate)
public static List<Constituent> getArgumentConstituents(Constituent predicate)
Copyright © 2017. All rights reserved.