Example #1
0
 public void Load(Latino.BinarySerializer binRead)
 {
     bUseFromInRules       = binRead.ReadBool();
     eMsdConsider          = (MsdConsideration)binRead.ReadInt();
     iMaxRulesPerNode      = binRead.ReadInt();
     bBuildFrontLemmatizer = binRead.ReadBool();
 }
Example #2
0
 public LemmatizerSettings(SerializationInfo info, StreamingContext context)
 {
     bUseFromInRules       = info.GetBoolean("bUseFromInRules");
     eMsdConsider          = (MsdConsideration)info.GetValue("eMsdConsider", typeof(MsdConsideration));
     iMaxRulesPerNode      = info.GetInt32("iMaxRulesPerNode");
     bBuildFrontLemmatizer = info.GetBoolean("bBuildFrontLemmatizer");
 }
Example #3
0
 public void Deserialize(BinaryReader binRead)
 {
     bUseFromInRules       = binRead.ReadBoolean();
     eMsdConsider          = (MsdConsideration)binRead.ReadInt32();
     iMaxRulesPerNode      = binRead.ReadInt32();
     bBuildFrontLemmatizer = binRead.ReadBoolean();
 }
 public void Load(Latino.BinarySerializer binRead)
 {
     bUseFromInRules              = binRead.ReadBool();
     eMsdConsider                 = (MsdConsideration)binRead.ReadInt();
     iMaxRulesPerNode             = binRead.ReadInt();
     bBuildFrontLemmatizer        = binRead.ReadBool();
     bStoreAllFullKnownWords      = binRead.ReadBool();
     bUseMsdSplitTreeOptimization = binRead.ReadBool();
 }
 public LemmatizerSettings(SerializationInfo info, StreamingContext context)
 {
     bUseFromInRules              = info.GetBoolean("bUseFromInRules");
     eMsdConsider                 = (MsdConsideration)info.GetValue("eMsdConsider", typeof(MsdConsideration));
     iMaxRulesPerNode             = info.GetInt32("iMaxRulesPerNode");
     bBuildFrontLemmatizer        = info.GetBoolean("bBuildFrontLemmatizer");
     bStoreAllFullKnownWords      = info.GetBoolean("bStoreAllFullKnownWords");
     bUseMsdSplitTreeOptimization = info.GetBoolean("bUseMsdSplitTreeOptimization");
 }
 public LemmatizerSettings(SerializationInfo info, StreamingContext context) {
     bUseFromInRules = info.GetBoolean("bUseFromInRules");
     eMsdConsider = (MsdConsideration)info.GetValue("eMsdConsider", typeof(MsdConsideration));
     iMaxRulesPerNode = info.GetInt32("iMaxRulesPerNode");
     bBuildFrontLemmatizer = info.GetBoolean("bBuildFrontLemmatizer");
 }
 public void Load(Latino.BinarySerializer binRead) {
     bUseFromInRules = binRead.ReadBool();
     eMsdConsider = (MsdConsideration)binRead.ReadInt();
     iMaxRulesPerNode = binRead.ReadInt();
     bBuildFrontLemmatizer = binRead.ReadBool();
 }
 public void Deserialize(BinaryReader binRead) {
     bUseFromInRules = binRead.ReadBoolean();
     eMsdConsider = (MsdConsideration)binRead.ReadInt32();
     iMaxRulesPerNode = binRead.ReadInt32();
     bBuildFrontLemmatizer = binRead.ReadBoolean();
 }