All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.core.Tag
java.lang.Object
|
+----weka.core.Tag
- public class Tag
- extends java.lang.Object
A Tag simply associates a numeric ID with a String description.
- Author:
- Len Trigg
Tag(int, String)
- Creates a new
Tag instance.
getID()
- Gets the numeric ID of the Tag.
getReadable()
- Gets the string description of the Tag.
Tag
public Tag(int ident,
java.lang.String readable)
Creates a new Tag instance.
- Parameters:
ident - the ID for the new Tag.
readable - the description for the new Tag.
getID
public int getID()
Gets the numeric ID of the Tag.
- Returns:
- the ID of the Tag.
getReadable
public java.lang.String getReadable()
Gets the string description of the Tag.
- Returns:
- the description of the Tag.
All Packages Class Hierarchy This Package Previous Next Index WEKA's home