com.aliasi.coref.matchers
Class HonorificConflictKiller

java.lang.Object
  extended by com.aliasi.coref.matchers.HonorificConflictKiller
All Implemented Interfaces:
Killer

public class HonorificConflictKiller
extends Object
implements Killer

Implements a killing function that defeats a match of a mention against a mention chain with an incompatible honorific.

Since:
LingPipe1.0
Version:
3.8
Author:
Bob Carpenter

Constructor Summary
HonorificConflictKiller()
          Construct a new honorific killer.
 
Method Summary
 boolean kill(Mention mention, MentionChain chain)
          Returns true if the specified mention and mention chain have incompatible honorifics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HonorificConflictKiller

public HonorificConflictKiller()
Construct a new honorific killer.

Method Detail

kill

public boolean kill(Mention mention,
                    MentionChain chain)
Returns true if the specified mention and mention chain have incompatible honorifics. Honorifics are determined to be honorific according to the

Specified by:
kill in interface Killer
Parameters:
mention - Mention to match.
chain - Mention chain to match.
Returns:
true if the match should be prohibited.