edu.upenn.cis.pdtb.xpath
Class IsCoordConjFunction

java.lang.Object
  extended byedu.upenn.cis.pdtb.xpath.IsCoordConjFunction
All Implemented Interfaces:
org.jaxen.Function

public class IsCoordConjFunction
extends java.lang.Object
implements org.jaxen.Function

Filter for subordinating conjunctions. This function has the signature:

  boolean is-sc()
  
Returns true iff the context node is an explicit relation and the connHead attribute matches the regex:
 .*(and|or|but|nor)
 

Since:
0.2.8
Author:
nikhild

Field Summary
static java.util.regex.Pattern CoordConjConnPattern
           
 
Constructor Summary
IsCoordConjFunction()
           
 
Method Summary
 java.lang.Object call(org.jaxen.Context context, java.util.List args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CoordConjConnPattern

public static final java.util.regex.Pattern CoordConjConnPattern
Constructor Detail

IsCoordConjFunction

public IsCoordConjFunction()
Method Detail

call

public java.lang.Object call(org.jaxen.Context context,
                             java.util.List args)
                      throws org.jaxen.FunctionCallException
Specified by:
call in interface org.jaxen.Function
Throws:
org.jaxen.FunctionCallException