Namespace NOpenNLP.Tools.Dictionary.Serializer
Classes
- Attributes
The Attributes class stores name value pairs.
Problem: The HashMap for storing the name value pairs has a very high memory footprint, replace it.
- DictionaryEntryPersistor
This class is used by for reading and writing dictionaries of all kinds.
- Entry
An Entry is a StringList which can optionally be mapped to attributes.
Entrys is a read and written by the DictionaryEntryPersistor.
Delegates
- EntryInserter
NOpenNLP: upstream declares this as a single-method interface, which the call sites implement with lambdas. It is expressed as a delegate here, which is the idiomatic .NET equivalent and keeps those call sites intact.