La clase IntlRuleBasedBreakIterator

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

Introducción

Una subclase de IntlBreakIterator que encapsula iteradores de ruptura de ICU cuyo comportamiento se especifica usando un conjunto de reglas. Este es el tipo más común de iteradores de ruptura.

Estas reglas están descritas en la» Guía de usuario de análisis de límites de ICU.

Sinopsis de la Clase

class IntlRuleBasedBreakIterator extends IntlBreakIterator implements Traversable {
/* Constantes */
const integer DONE = -1;
const integer WORD_NONE = 0;
const integer WORD_NUMBER = 100;
const integer WORD_LETTER = 200;
const integer WORD_KANA = 300;
const integer WORD_IDEO = 400;
const integer LINE_SOFT = 0;
const integer LINE_HARD = 100;
const integer SENTENCE_SEP = 100;
/* Métodos */
public __construct(string $rules, string $areCompiled = ?)
public getBinaryRules(): ReturnType
public getRules(): ReturnType
public getRuleStatus(): ReturnType
public getRuleStatusVec(): ReturnType
/* Métodos heredados */
public static IntlBreakIterator::createCharacterInstance(string $"locale" = ?): ReturnType
public static IntlBreakIterator::createCodePointInstance(): ReturnType
public static IntlBreakIterator::createLineInstance(string $"locale" = ?): ReturnType
public static IntlBreakIterator::createSentenceInstance(string $"locale" = ?): ReturnType
public static IntlBreakIterator::createTitleInstance(string $"locale" = ?): ReturnType
public static IntlBreakIterator::createWordInstance(string $"locale" = ?): ReturnType
public IntlBreakIterator::current(): ReturnType
public IntlBreakIterator::first(): ReturnType
public IntlBreakIterator::following(string $"offset"): ReturnType
public IntlBreakIterator::getErrorCode(): ReturnType
intl_get_error_code(): ReturnType
intl_get_error_message(): ReturnType
public IntlBreakIterator::getLocale(string $"locale_type"): ReturnType
public IntlBreakIterator::getPartsIterator(string $"key_type" = ?): ReturnType
public IntlBreakIterator::getText(): ReturnType
public IntlBreakIterator::isBoundary(string $"offset"): ReturnType
public IntlBreakIterator::last(): ReturnType
public IntlBreakIterator::next(string $"offset" = ?): ReturnType
public IntlBreakIterator::preceding(string $"offset"): ReturnType
public IntlBreakIterator::previous(): ReturnType
public IntlBreakIterator::setText(string $"text"): ReturnType
}

Constantes predefinidas

IntlRuleBasedBreakIterator::DONE

IntlRuleBasedBreakIterator::WORD_NONE

IntlRuleBasedBreakIterator::WORD_NONE_LIMIT

IntlRuleBasedBreakIterator::WORD_NUMBER

IntlRuleBasedBreakIterator::WORD_NUMBER_LIMIT

IntlRuleBasedBreakIterator::WORD_LETTER

IntlRuleBasedBreakIterator::WORD_LETTER_LIMIT

IntlRuleBasedBreakIterator::WORD_KANA

IntlRuleBasedBreakIterator::WORD_KANA_LIMIT

IntlRuleBasedBreakIterator::WORD_IDEO

IntlRuleBasedBreakIterator::WORD_IDEO_LIMIT

IntlRuleBasedBreakIterator::LINE_SOFT

IntlRuleBasedBreakIterator::LINE_SOFT_LIMIT

IntlRuleBasedBreakIterator::LINE_HARD

IntlRuleBasedBreakIterator::LINE_HARD_LIMIT

IntlRuleBasedBreakIterator::SENTENCE_TERM

IntlRuleBasedBreakIterator::SENTENCE_TERM_LIMIT

IntlRuleBasedBreakIterator::SENTENCE_SEP

IntlRuleBasedBreakIterator::SENTENCE_SEP_LIMIT

Tabla de contenidos

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top