add new configs
This commit is contained in:
32
src/Config/CommerceQueryParserConfig.php
Normal file
32
src/Config/CommerceQueryParserConfig.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Config;
|
||||
|
||||
class CommerceQueryParserConfig
|
||||
{
|
||||
public function getKnownBrands(): array
|
||||
{
|
||||
return [
|
||||
'heyl',
|
||||
'horiba',
|
||||
'neomeris'
|
||||
];
|
||||
}
|
||||
|
||||
public function getPhrasesToRemove(): array{
|
||||
return [
|
||||
'ich suche',
|
||||
'suche',
|
||||
'habt ihr',
|
||||
'gibt es',
|
||||
'zeige mir',
|
||||
'welches gerät',
|
||||
'welche gerät',
|
||||
'welches modell',
|
||||
'welches ist besser',
|
||||
'welches ist am besten',
|
||||
'alternative',
|
||||
'alternativen',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user