toAlgorithmicStemming method

AlgorithmicStemming toAlgorithmicStemming()

Implementation

AlgorithmicStemming toAlgorithmicStemming() {
  switch (this) {
    case 'none':
      return AlgorithmicStemming.none;
    case 'minimal':
      return AlgorithmicStemming.minimal;
    case 'light':
      return AlgorithmicStemming.light;
    case 'full':
      return AlgorithmicStemming.full;
  }
  throw Exception('$this is not known in enum AlgorithmicStemming');
}