edu.isi.nlp.parsing.HeadFinder Maven / Gradle / Ivy
package edu.isi.nlp.parsing;
import com.google.common.annotations.Beta;
import com.google.common.base.Optional;
import edu.isi.nlp.ConstituentNode;
import edu.isi.nlp.symbols.Symbol;
/** An interface for finding */
@Beta
public interface HeadFinder> {
Optional findHead(final Symbol tag, final Iterable children);
class HeadException extends RuntimeException {
public HeadException(final String msg) {
super(msg);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy