Function Stemmer_EN->m

Definitions

sources/lang_stemmer_EN.php

  • What, you mean it's not obvious from the name?m() measures the number of consonant sequences in $str. if c isa consonant sequence and v a vowel sequence, and <..> indicates arbitrarypresence,<c><v> gives 0<c>vc<v> gives 1<c>vcvc<v> gives 2<c>vcvcvc<v> gives 3
  • Visibility: private
  • Is abstract?: No
  • Is static?: Yes
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$str string required parameter N/A N/A The string to return the m count for

Return

  • The m count
  • Type: int
  • Set: N/A
  • Range: N/A