Detector constructor
Detector(
- DetectorFactory factory
Construct Detector instance.
Implementation
Detector(this.factory)
: seed = factory.seed ?? DateTime.now().millisecondsSinceEpoch {
wordLangProbMap = factory.wordLangProbMap;
langList = factory.langList;
random = Random();
}