LanguageDetectorOptions.fromAssetPath constructor

LanguageDetectorOptions.fromAssetPath(
  1. String assetPath, {
  2. ClassifierOptions classifierOptions = const ClassifierOptions(),
})

Convenience constructor that looks for the model asset at the given file system location.

Implementation

LanguageDetectorOptions.fromAssetPath(
  String assetPath, {
  ClassifierOptions classifierOptions = const ClassifierOptions(),
});