explaination to all trigger
This commit is contained in:
parent
fe3fd9b1b6
commit
9142e440d5
6 changed files with 32 additions and 8 deletions
|
|
@ -2,6 +2,16 @@ import Detector from "./Detector.js";
|
|||
import compromise from 'fr-compromise';
|
||||
import { cleanMessageContent } from "../utils/strings.js";
|
||||
|
||||
/*if the beginning of the sentence (before trigger) is less than 7 words then drop
|
||||
otherwise copy the sentence and adjust
|
||||
exemple : on mange quoi ce midi ? on mange feur ce midi
|
||||
|
||||
does not conjugate
|
||||
|
||||
cut to "ça" or "ca" if used
|
||||
exemple : c'est quoi ce truc ? c'est feur ce truc
|
||||
*/
|
||||
|
||||
const suffixes = [
|
||||
', mon gars',
|
||||
', mec',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue