Property | Type | Description | |
---|---|---|---|
$dir | the directory the corpus files are located | ||
$lang | which language to use, default is eng |
Method | Description | |
---|---|---|
__construct ( string $dir, string $lang = 'eng' ) | ||
getDir ( ) : string | ||
getFileNames ( ) : string[] | ||
getLanguage ( ) : string |
public __construct ( string $dir, string $lang = 'eng' ) | ||
$dir | string | the directory the corpus files are located |
$lang | string | language to use, default is eng |
abstract public getFileNames ( ) : string[] | ||
return | string[] | Return the list of file names that must be loaded to use the corpus Should use relative paths |
public getLanguage ( ) : string | ||
return | string | language to use, default is eng |