* @throws LoadModelException
*/
public AbstractTagger(String file) throws LoadModelException {
loadFrom(file);
if(getClassifier()==null){
throw new LoadModelException("模型为空");
}
factory = getClassifier().getAlphabetFactory();
labels = factory.DefaultLabelAlphabet();
IFeatureAlphabet features = factory.DefaultFeatureAlphabet();