PHP Class TextAnalysis\Models\Wordnet\ExceptionMap

Author: dcardin
Datei anzeigen Open project: yooper/php-text-analysis

Protected Properties

Property Type Description
$exceptionList String of exception words to look for
$pos pos
$target The target word the strings in the exceptionList get mapped to

Public Methods

Method Description
__construct ( string $pos, string $target, array $exceptionList )
getExceptionList ( ) : string[]
getPos ( ) : string
getTarget ( ) : string

Method Details

__construct() public method

public __construct ( string $pos, string $target, array $exceptionList )
$pos string
$target string
$exceptionList array

getExceptionList() public method

public getExceptionList ( ) : string[]
return string[]

getPos() public method

public getPos ( ) : string
return string

getTarget() public method

public getTarget ( ) : string
return string

Property Details

$exceptionList protected_oe property

String of exception words to look for
protected $exceptionList

$pos protected_oe property

pos
protected $pos

$target protected_oe property

The target word the strings in the exceptionList get mapped to
protected $target