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

edu.stanford.nlp.sequences.BestSequenceFinder Maven / Gradle / Ivy

Go to download

Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.

There is a newer version: 3.9.2
Show newest version
package edu.stanford.nlp.sequences;


/**
 * An interface for classes capable of computing the best sequence given
 * a SequenceModel.
 *
 * Or it turns out that some implementations don't actually find the best
 * sequence but just sample a sequence.  (SequenceSampler, I'm looking at
 * you.)  I guess this makes sense if all sequences are scored equally.
 *
 * @author Teg Grenager ([email protected])
 */
public interface BestSequenceFinder {

  /**
   * Finds the best sequence for the sequence model based on its scoring.
   *
   * @return The sequence which is scored highest by the SequenceModel
   */
  public int[] bestSequence(SequenceModel sequenceModel);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy