org.apache.nutch.clustering.carrot2
Class Clusterer
java.lang.Object
org.apache.nutch.clustering.carrot2.Clusterer
All Implemented Interfaces: Configurable , OnlineClusterer , Pluggable
public class Clusterer extends Object implements OnlineClusterer , Configurable
An plugin providing an implementation of OnlineClusterer
extension using clustering components of the Carrot2 project
(http://carrot2.sourceforge.net ).
We hardcode the following Carrot2 process:
Yahoo Search API -- Lingo Classic Clusterer
]]>
Version:
$Id: Clusterer.java,v 1.1 2004/08/09 23:23:53 johnnx Exp $
Author:
Dawid Weiss
Field Summary
static org.apache.commons.logging.Log
logger
Constructor Summary
Clusterer ()
An empty public constructor for making new instances
of the clusterer.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
logger
public static final org.apache.commons.logging.Log logger
Clusterer
public Clusterer ()
An empty public constructor for making new instances
of the clusterer.
clusterHits
public HitsCluster [] clusterHits (HitDetails [] hitDetails,
String [] descriptions)
See OnlineClusterer
for documentation.
Specified by: clusterHits
in interface OnlineClusterer
Returns: A set of HitsCluster
objects.
setConf
public void setConf (Configuration conf)
Implementation of Configurable
Specified by: setConf
in interface Configurable
getConf
public Configuration getConf ()
Implementation of Configurable
Specified by: getConf
in interface Configurable
Copyright © 2006 The Apache Software Foundation