Example #1
0
 public NotenizerNoteRule()
     : base()
 {
     _sentencesTerminators = null;
 }
Example #2
0
        /// <summary>
        /// Gets sentence terminators from array.
        /// </summary>
        /// <param name="persistedSentencesTerminators"></param>
        /// <returns></returns>
        public static SentencesTerminators ParseSentencesTerminators(BsonArray persistedSentencesTerminators)
        {
            SentencesTerminators sentencesTerminators = new SentencesTerminators();

            foreach (BsonInt32 terminatorLoop in persistedSentencesTerminators)
                sentencesTerminators.Add((int)terminatorLoop);

            return sentencesTerminators;
        }
Example #3
0
 public NotenizerNoteRule(String id, String structureId, DateTime createdAt, DateTime updatedAt, SentencesTerminators sentencesTerminators)
     : base(id, structureId, createdAt, updatedAt)
 {
     this._sentencesTerminators = sentencesTerminators;
 }