opennlp.grok.preprocess.namefind
Class EmailDetector

java.lang.Object
  |
  +--opennlp.grok.preprocess.namefind.EmailDetector
All Implemented Interfaces:
opennlp.common.preprocess.Pipelink

public class EmailDetector
extends java.lang.Object
implements opennlp.common.preprocess.Pipelink

Find emails in a text and mark them. Not much of a detector at the moment as it only checks whether there is a "@" in the string.

Version:
$Revision: 1.10 $, $Date: 2002/02/11 15:43:34 $
Author:
Jason Baldridge

Constructor Summary
EmailDetector()
           
 
Method Summary
 boolean isEmail(java.lang.String s)
           
 void process(opennlp.common.xml.NLPDocument doc)
          Find the email addresses in a document.
 java.util.Set requires()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailDetector

public EmailDetector()
Method Detail

isEmail

public boolean isEmail(java.lang.String s)

process

public void process(opennlp.common.xml.NLPDocument doc)
Find the email addresses in a document.

Specified by:
process in interface opennlp.common.preprocess.Pipelink

requires

public java.util.Set requires()
Specified by:
requires in interface opennlp.common.preprocess.Pipelink


Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.