opennlp.tools.coref.sim
Interface TrainSimilarityModel

All Known Implementing Classes:
GenderModel, NumberModel, SimilarityModel

public interface TrainSimilarityModel

Interface for training a similarity, gender, or number model.


Method Summary
 void setExtents(Context[] extents)
          Creates simialrity training pairs based on the specified extents.
 void trainModel()
           
 

Method Detail

trainModel

void trainModel()
                throws IOException
Throws:
IOException

setExtents

void setExtents(Context[] extents)
Creates simialrity training pairs based on the specified extents. Extents are considered compatible is they are in the same coreference chain, have the same named-entity tag, or share a common head word. Incompatible extents are chosen at random from the set of extents which don't meet this criteria.

Parameters:
extents -


Copyright © 2010. All Rights Reserved.