public class Feature extends Object implements Serializable, Comparable<Feature>
Feature class represents the NLP component that was converted from raw or annotated text. A feature is a simple double that
contains a name and value.| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected double |
value |
protected String name
protected double value
public Feature(String name, double value)
public String getName()
public double getValue()
public int compareTo(Feature other)
compareTo in interface Comparable<Feature>Copyright © 2020. All rights reserved.