classifier
Class CategoryTitles
java.lang.Object
|
+--classifier.CategoryTitles
- public class CategoryTitles
- extends java.lang.Object
This class maintains a table of titles of categories.
For each word it lists pairs
level is the position in the path where the term appears.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CategoryTitles
public CategoryTitles()
relateTitles
public void relateTitles(Categoria category)
- links titles to their categories
matchingCategories
public java.util.Vector matchingCategories(java.lang.String title)
- Returns:
- vector of pairs in which
title appears.
getTitles
public java.util.Enumeration getTitles()
- Enumerates all titles.