public TwoStringInfo() { TwoGramCount = 0; N1PlusStarww = 0; NwwStarCount = new NwStarCount(); ThreeGramCounts = new Dictionary <int, uint>(); MostLikelies = new List <int>(); }
public OneStringInfo() { TwoGrams = new Dictionary <int, TwoStringInfo>(); NwStarCount = new NwStarCount(); MostLikelies = new List <int>(); OneGramCount = 0; N1PlusStarwStar = 0; N1PlusStarw = 0; }
protected static byte[] Serialize(NwStarCount data) { return(Serialization.Concat(BitConverter.GetBytes(data.N1WStar), BitConverter.GetBytes(data.N2WStar), BitConverter.GetBytes(data.N3PlusWStar))); }