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 void
analyzeTerm(Term term)
void
endAnalysis()
void
startAnalysis(TermDatabase tdb)
-
-
-
Method Detail
-
startAnalysis
public void startAnalysis(TermDatabase tdb)
- Specified by:
startAnalysis
in interfaceTermAnalyzerIF
-
analyzeTerm
public void analyzeTerm(Term term)
- Specified by:
analyzeTerm
in interfaceTermAnalyzerIF
-
endAnalysis
public void endAnalysis()
- Specified by:
endAnalysis
in interfaceTermAnalyzerIF
-
-