Function LangTokeniser_EN->phrase_to_word_list
Definitions
sources/lang_tokeniser_EN.php
- Convert a phrase to a list of words.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$phrase | string | required parameter | N/A | N/A | A phrase |
$total_word_tokens | ?integer | required parameter | N/A | N/A | Maintain a count of singular ngrams (word tokens in our case) in here (null: do not count) |
Return
- List of words
- Type: array
- Set: N/A
- Range: N/A