net.ontopia.topicmaps.classify
Class RegexpTermAnalyzer

java.lang.Object
  extended by net.ontopia.topicmaps.classify.RegexpTermAnalyzer
All Implemented Interfaces:
TermAnalyzerIF

public class RegexpTermAnalyzer
extends java.lang.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
RegexpTermAnalyzer()
           
 
Method Summary
 void analyzeTerm(Term term)
           
 void endAnalysis()
           
 void startAnalysis(TermDatabase tdb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexpTermAnalyzer

public RegexpTermAnalyzer()
Method Detail

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.