LangProfile constructor
Implementation
LangProfile({this.name, Map<String, int>? freq, List<int>? nWords})
: freq = Map<String, int>.from(freq ?? {}),
nWords = nWords ?? List<int>.filled(NGram.nGram, 0) {
if (freq != null) {
this.freq.addAll(freq);
}
}