All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.isi.nlp.parsing.HeadFinder Maven / Gradle / Ivy

There is a newer version: 8.3.0
Show newest version
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