Toggle navigation
Hot Examples
KO
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]
)
파일 보기
프로젝트 열기: camspiers/statistical-classifier
공개 메소드들
메소드
설명
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