PHP 인터페이스 Documer\Storage\Adapter

파일 보기 프로젝트 열기: kbariotis/documer

공개 메소드들

메소드 설명
getDistinctLabels ( ) : array Get distinct names of labels
getInverseWordProbabilityWithLabel ( $word, $label ) : float Get the probability that this word shows up in a any other LABEL
getWordCount ( $word ) : integer Get how many times we have seen this word before
getWordProbabilityWithLabel ( $word, $label ) : float Get the probability that this word shows up in a LABEL document
insertLabel ( $label )
insertWord ( $word, $label )

메소드 상세

getDistinctLabels() 공개 메소드

Get distinct names of labels
public getDistinctLabels ( ) : array
리턴 array

getInverseWordProbabilityWithLabel() 공개 메소드

Get the probability that this word shows up in a any other LABEL
public getInverseWordProbabilityWithLabel ( $word, $label ) : float
$word
$label
리턴 float

getWordCount() 공개 메소드

Get how many times we have seen this word before
public getWordCount ( $word ) : integer
$word
리턴 integer

getWordProbabilityWithLabel() 공개 메소드

Get the probability that this word shows up in a LABEL document
public getWordProbabilityWithLabel ( $word, $label ) : float
$word
$label
리턴 float

insertLabel() 공개 메소드

public insertLabel ( $label )

insertWord() 공개 메소드

public insertWord ( $word, $label )