Example usage for edu.stanford.nlp.parser.lexparser Hook isPreHook

List of usage examples for edu.stanford.nlp.parser.lexparser Hook isPreHook

Introduction

In this page you can find the example usage for edu.stanford.nlp.parser.lexparser Hook isPreHook.

Prototype

@Override
    public boolean isPreHook() 

Source Link

Usage

From source file:conditionalCFG.ConditionalCFGParser.java

License:Open Source License

public boolean oPossible(Hook hook) {
    return (hook.isPreHook() ? oPossibleByR[hook.end][hook.state] : oPossibleByL[hook.start][hook.state]);
}

From source file:conditionalCFG.ConditionalCFGParser.java

License:Open Source License

public boolean iPossible(Hook hook) {
    return (hook.isPreHook() ? iPossibleByR[hook.start][hook.subState] : iPossibleByL[hook.end][hook.subState]);
}