public class ResourceAnalyser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceAnalyser.Factory |
static class |
ResourceAnalyser.Result |
static class |
ResourceAnalyser.WeightingMethod |
| Constructor and Description |
|---|
ResourceAnalyser(ArchiveCrawlSpecification spec,
ResourceAnalyser.WeightingMethod method,
com.codahale.metrics.MetricRegistry metrics,
float timeRelevanceThreshold,
float docSimilarityWeight) |
| Modifier and Type | Method and Description |
|---|---|
ResourceAnalyser.Result |
analyse(Snapshot resource,
CrawlUrl url) |
public ResourceAnalyser(ArchiveCrawlSpecification spec, ResourceAnalyser.WeightingMethod method, com.codahale.metrics.MetricRegistry metrics, float timeRelevanceThreshold, float docSimilarityWeight) throws IOException
IOExceptionpublic ResourceAnalyser.Result analyse(Snapshot resource, CrawlUrl url)
Copyright © 2017. All rights reserved.