org.knowceans.corpus
Interface ICategories

All Known Implementing Classes:
DpaCategories, EpgCategories, IgdCategories, IptcCategories, NoCategories, ReutersCategories

public interface ICategories

ICategories handles category names and ids defined for corpus documents

Author:
heinrich

Method Summary
 java.lang.String decode(java.util.Vector<java.lang.Integer> a)
          return a string description of the category ids in the argument.
 java.util.Vector<java.lang.Integer> subjects(java.lang.String sub)
          get category ids (encoding) of the descriptors in the argument (space-separated).
 

Method Detail

decode

java.lang.String decode(java.util.Vector<java.lang.Integer> a)
return a string description of the category ids in the argument.

Parameters:
a -
Returns:

subjects

java.util.Vector<java.lang.Integer> subjects(java.lang.String sub)
get category ids (encoding) of the descriptors in the argument (space-separated).

Parameters:
sub -
Returns: