Property | Type | Description | |
---|---|---|---|
$path | string | Data directory. | |
$segmentName | string | Words segment name. | |
$segments | array | Segment files. | |
$surnames | array | Surname cache. |
Method | Description | |
---|---|---|
__construct ( string $path ) | Constructor. | |
map ( Closure $callback ) | Load dict. | |
mapSurname ( Closure $callback ) | Load surname dict. |
public mapSurname ( Closure $callback ) | ||
$callback | Closure |