Exemple #1
0
 public Word(ILetterRepresentation rep, string word, int lineCount = 0, int wordCount = 0)
 {
     WordValue          = word;
     WordKey            = null;
     KeySet             = false;
     WordRepresentation = rep.WordRep(word);
     LineCount          = lineCount;
     WordCount          = wordCount;
 }
Exemple #2
0
 public Parser(StreamReader stream, ILetterRepresentation rep = null)
 {
     _textStream = stream;
     _rep        = rep ?? LetterRepresentation.Inst.CreateRep();
 }