add new configs
This commit is contained in:
101
src/Config/CommerceIntentConfig.php
Normal file
101
src/Config/CommerceIntentConfig.php
Normal file
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
namespace App\Config;
|
||||
|
||||
class CommerceIntentConfig
|
||||
{
|
||||
public function getStrongSignalsList(): array
|
||||
{
|
||||
return [
|
||||
'suche',
|
||||
'habt',
|
||||
'gibt',
|
||||
'zeig',
|
||||
'welche',
|
||||
'vergleich',
|
||||
'alternativ',
|
||||
'find',
|
||||
'shop',
|
||||
'store',
|
||||
'sku',
|
||||
'Artikel',
|
||||
'Gerät',
|
||||
'testomat',
|
||||
'indikator',
|
||||
'Titromat',
|
||||
'Seminar',
|
||||
'Schulung',
|
||||
'Sensor',
|
||||
'liste'
|
||||
];
|
||||
}
|
||||
|
||||
public function getAdvisorySignals(): array
|
||||
{
|
||||
return [
|
||||
'passt',
|
||||
'eignet',
|
||||
'besser',
|
||||
'besten',
|
||||
'geeignet',
|
||||
'empfiehl',
|
||||
'empfehl',
|
||||
];
|
||||
}
|
||||
|
||||
public function getPricePattern(): string
|
||||
{
|
||||
$pattern = [
|
||||
'euro',
|
||||
'€',
|
||||
'eur',
|
||||
'teuer',
|
||||
'preis',
|
||||
'kosten'
|
||||
];
|
||||
return implode('|', $pattern);
|
||||
}
|
||||
|
||||
public function getColorPattern(): string
|
||||
{
|
||||
$pattern = [
|
||||
'schwarz',
|
||||
'weiß',
|
||||
'weis',
|
||||
'blau',
|
||||
'grau',
|
||||
'beige',
|
||||
'rosa',
|
||||
'pink',
|
||||
'gruen',
|
||||
'orange',
|
||||
'braun'
|
||||
];
|
||||
return implode('|', $pattern);
|
||||
}
|
||||
|
||||
public function getSizeTokenPattern(): string
|
||||
{
|
||||
$pattern = [
|
||||
'xs',
|
||||
's',
|
||||
'm',
|
||||
'l',
|
||||
'xl',
|
||||
'',
|
||||
'xxl',
|
||||
'xxxxl',
|
||||
];
|
||||
return implode('|', $pattern);
|
||||
}
|
||||
|
||||
public function getSizePattern(): string
|
||||
{
|
||||
$pattern = [
|
||||
'größe',
|
||||
'groesse',
|
||||
'grösse'
|
||||
];
|
||||
return implode('|', $pattern);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user