public function __construct(DatabaseHandler $dbHandler, TransformationProcessor $processor, array $configuration = array())
{
parent::__construct($dbHandler);
$this->configuration = $configuration + $this->configuration;
$this->processor = $processor;
if ($this->configuration['stopWordThresholdFactor'] < 0 || $this->configuration['stopWordThresholdFactor'] > 1) {
throw new InvalidArgumentException("\$configuration['stopWordThresholdFactor']", 'Stop Word Threshold Factor needs to be between 0 and 1, got: ' . $this->configuration['stopWordThresholdFactor']);
}
}