org.carrot2.input.odp.mixer
Class CatidTopicMixer

java.lang.Object
  extended by org.carrot2.input.odp.mixer.CatidTopicMixer
All Implemented Interfaces:
TopicMixer

public class CatidTopicMixer
extends Object
implements TopicMixer

Mixes ODP topics based on a list of ODP catids.

Query format: the query must be a Stringconsisting of ODP catid numbers to be mixed separated by spaces, e.g. "234 34534 54246 234".

Version:
$Revision: 2122 $
Author:
Stanislaw Osinski

Field Summary
static String TOPIC_MIXER_NAME
          A unique name for this mixer
 
Constructor Summary
CatidTopicMixer()
           
 
Method Summary
 List mix(Object criteria)
          Mixes ODP categories with given catids.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOPIC_MIXER_NAME

public static final String TOPIC_MIXER_NAME
A unique name for this mixer

See Also:
Constant Field Values
Constructor Detail

CatidTopicMixer

public CatidTopicMixer()
Method Detail

mix

public List mix(Object criteria)
Mixes ODP categories with given catids.

Specified by:
mix in interface TopicMixer
Parameters:
criteria - a Listof Strings, each of which is an ODP catid.
Returns:
a Listof Topics in the order of input catids.
See Also:
TopicMixer.mix(java.lang.Object)


Copyright (c) Dawid Weiss, Stanislaw Osinski