add specs for DictionaryBuilder::DocumentFrequency