Class BasicLabel

java.lang.Object
com.lexalytics.salience.BasicLabel

public class BasicLabel
extends java.lang.Object

A BasicLabel represents a basic language label.

A basic label rule includes a textual label for the supplied text.

  • Constructor Summary

    Constructors 
    Constructor Description
    BasicLabel​(java.lang.String sLabel)
    Creates a new basic label.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getLabel()
    The label for the supplied text.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BasicLabel

      public BasicLabel​(java.lang.String sLabel)
      Creates a new basic label.
      Parameters:
      sLabel - The label of the supplied text.
  • Method Details

    • getLabel

      public java.lang.String getLabel()
      The label for the supplied text.
      Returns:
      A String object with the label for the supplied text.