Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
TextAnalysis
NGrams
NGramFactory
PHP 클래스 TextAnalysis\NGrams\NGramFactory
파일 보기
프로젝트 열기: yooper/php-text-analysis
1 사용 예제들
공개 메소드들
메소드
설명
create
(
array
$tokens
,
integer
$nGramSize
= self::BIGRAM,
$separator
= ' ' ) :
array
Generate Ngrams from the tokens
보호된 메소드들
메소드
설명
__construct
( )
Protect the constructor
메소드 상세
__construct()
보호된
메소드
Protect the constructor
protected
__construct
( )
create()
공개
정적인
메소드
Generate Ngrams from the tokens
public
static
create
(
array
$tokens
,
integer
$nGramSize
= self::BIGRAM,
$separator
= ' ' ) :
array
$tokens
array
$nGramSize
integer
리턴
array
return an array of the ngrams