프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$pCnt | Number of different pointers that lemma has in all synsets containing it. | ||
$synsetCnt | Number of synsets that lemma is in. This is the number of senses of the word in WordNet. See Sense Numbers below for a discussion of how sense numbers are assigned and the order of synset_offset s in the index files. | ||
$synsetOffsets | Byte offset in data.pos file of a synset containing lemma . Each synset_offset in the list corresponds to a different sense of lemma in WordNet. synset_offset is an 8 digit, zero-filled decimal integer t hat can be used with fseek(3) to read a synset from the data file | ||
$synsets | |||
$word |
메소드 | 설명 | |
---|---|---|
__construct ( string $word, string $pos, integer $synsetCnt, integer $pCnt, array $ptrSymbols, array $synsetOffsets ) | ||
getPCnt ( ) : integer | ||
getPtrSymbols ( ) : string[] | ||
getSynsetCnt ( ) : integer | ||
getSynsetOffsets ( ) : int[] | ||
getSynsets ( ) : |
Get the synsets for this lemma | |
getWord ( ) : string | ||
setSynsets ( array $synsets ) : |
protected $pCnt |
protected $synsetCnt |
protected $synsetOffsets |