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

Constructor Index

 o Tag(int, String)
Creates a new Tag instance.

Method Index

 o getID()
Gets the numeric ID of the Tag.
 o getReadable()
Gets the string description of the Tag.

Constructor Detail

 o 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.

Method Detail

 o getID
public int getID()
          Gets the numeric ID of the Tag.
Returns:
the ID of the Tag.
 o 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