Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Camspiers
StatisticalClassifier
Classifier
ClassifierInterface
PHP Интерфейс Camspiers\StatisticalClassifier\Classifier\ClassifierInterface
Implementing classes are classifiers capable of classifying documents into categories
Автор:
Cam Spiers (
[email protected]
)
Показать файл
Открыть проект
Открытые методы
Метод
Описание
classify
(
string
$document
) :
string
|
boolean
Classify the document and return its category
is
(
string
$category
,
string
$document
) :
boolean
Returns whether or not the document is of the category
Описание методов
classify()
публичный
Метод
Classify the document and return its category
public
classify
(
string
$document
) :
string
|
boolean
$document
string
The document to classify
Результат
string
|
boolean
The category of the document
is()
публичный
Метод
Returns whether or not the document is of the category
public
is
(
string
$category
,
string
$document
) :
boolean
$category
string
The category in question
$document
string
The document to check
Результат
boolean
Whether or not the document is in the category