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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexpTermAnalyzer
public RegexpTermAnalyzer()
startAnalysis
public void startAnalysis(TermDatabase tdb)
- Specified by:
startAnalysis
in interface TermAnalyzerIF
analyzeTerm
public void analyzeTerm(Term term)
- Specified by:
analyzeTerm
in interface TermAnalyzerIF
endAnalysis
public void endAnalysis()
- Specified by:
endAnalysis
in interface TermAnalyzerIF
Copyright © 2000-2012 Ontopia.