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

Constructors

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

Parameters:
ident - the ID for the new Tag.
readable - the description for the new Tag.

Methods

 o getID
 public int getID()
Gets the numeric ID of the Tag.

Returns:
the ID of the Tag.
 o getReadable
 public 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