public void Dispose() { if (Processor != null) { Processor.Dispose(); Processor = null; } if (MorphoModel != null) { MorphoModel.Dispose(); MorphoModel = null; } if (MorphoAmbiguityResolverModel != null) { MorphoAmbiguityResolverModel.Dispose(); MorphoAmbiguityResolverModel = null; } if (SentSplitterConfig != null) { SentSplitterConfig.Dispose(); SentSplitterConfig = null; } }
public void Dispose() { if (Processor != null) { Processor.Dispose(); Processor = null; } if (MorphoModel != null) { MorphoModel.Dispose(); MorphoModel = null; } if (MorphoAmbiguityResolverModel != null) { MorphoAmbiguityResolverModel.Dispose(); MorphoAmbiguityResolverModel = null; } }