Segmenter.Base.Collectors.FrequencyDictionary.Clear C# (CSharp) Method

Clear() public method

Clears this FrequencyDictionary so that it contains no words.
public Clear ( ) : void
return void
        public void Clear()
        {
            words.Clear();
        }

Usage Example

 public void ClearTest()
 {
     var alphabet = new FrequencyDictionary(chain);
     alphabet.Clear();
     Assert.True(alphabet.Count == 0);
 }