|
@@ -20,15 +20,20 @@ class UpdateCorpus extends Command
|
|
|
*/
|
|
*/
|
|
|
protected SentenceService $sentenceService;
|
|
protected SentenceService $sentenceService;
|
|
|
|
|
|
|
|
|
|
+ protected TermService $termService;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* Create a new command instance.
|
|
* Create a new command instance.
|
|
|
*
|
|
*
|
|
|
* @param SentenceService $sentenceService
|
|
* @param SentenceService $sentenceService
|
|
|
*/
|
|
*/
|
|
|
public function __construct(SentenceService $sentenceService)
|
|
public function __construct(SentenceService $sentenceService)
|
|
|
|
|
+ {
|
|
|
|
|
+ public function __construct(SentenceService $sentenceService, TermService $termService)
|
|
|
{
|
|
{
|
|
|
parent::__construct();
|
|
parent::__construct();
|
|
|
$this->sentenceService = $sentenceService;
|
|
$this->sentenceService = $sentenceService;
|
|
|
|
|
+ $this->termService = $termService;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|