Function LangTokeniser_EN->text_to_phrases

Definitions

sources/lang_tokeniser_EN.php

  • Convert text to phrases (a phrase is a sequence of words that go together, that can be used for ngram sequences).
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$text string required parameter N/A N/A The text

Return

  • List of phrases
  • Type: array
  • Set: N/A
  • Range: N/A