Package net.ontopia.topicmaps.classify
Class RegexpTermAnalyzer
- java.lang.Object
-
- net.ontopia.topicmaps.classify.RegexpTermAnalyzer
-
- All Implemented Interfaces:
TermAnalyzerIF
public class RegexpTermAnalyzer extends Object implements TermAnalyzerIF
INTERNAL: A term analyzer which recognizes certain kinds of terms using regexps and adjusts their scores accordingly. At the moment it only recognizes emails addresses and HTTP URLs. These are scored down dramatically.
-
-
Constructor Summary
Constructors Constructor Description RegexpTermAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanalyzeTerm(Term term)voidendAnalysis()voidstartAnalysis(TermDatabase tdb)
-
-
-
Method Detail
-
startAnalysis
public void startAnalysis(TermDatabase tdb)
- Specified by:
startAnalysisin interfaceTermAnalyzerIF
-
analyzeTerm
public void analyzeTerm(Term term)
- Specified by:
analyzeTermin interfaceTermAnalyzerIF
-
endAnalysis
public void endAnalysis()
- Specified by:
endAnalysisin interfaceTermAnalyzerIF
-
-