French Verbs Support
Any verb of all 3 verb groups are available thanks to lefff
derived resource: ils #[+verb(subjMP, 'oindre')]
will output ils oignent.
Supported tenses are:
-
PRESENT
-
FUTUR
-
IMPARFAIT
-
PASSE_SIMPLE
-
PASSE_COMPOSE
-
PLUS_QUE_PARFAIT
-
PASSE_ANTERIEUR
-
FUTUR_ANTERIEUR
-
CONDITIONNEL_PRESENT
-
CONDITIONNEL_PASSE_1
-
CONDITIONNEL_PASSE_2
-
IMPERATIF_PRESENT
-
IMPERATIF_PASSE
-
SUBJONCTIF_PRESENT
-
SUBJONCTIF_IMPARFAIT
-
SUBJONCTIF_PASSE
-
SUBJONCTIF_PLUS_QUE_PARFAIT
-
INFINITIF
-
INFINITIF_PASSE
-
PARTICIPE_PRESENT
-
PARTICIPE_PASSE
-
PARTICIPE_PASSE_COMPOSE
For composed tense (e.g., PASSE_COMPOSE, PLUS_QUE_PARFAIT), you have to indicate:
-
Which auxiliary to use (être or avoir): set
aux
toAVOIR
orETRE
-
With what to agree the participle (optional, masculine singular being the default): set
agree
-
NB: when
aux
isETRE
, the participle is automatically agreed with the subject
For instance:
-
elles #[+verb(getAnonFP(), {verb: 'sortir', tense:'PASSE_COMPOSE', aux:'ETRE', agree: getAnonFP()})]
will generate elles sont sorties -
elles #[+verb(getAnonFP(), {verb: 'sortir', tense:'PASSE_COMPOSE', aux:'AVOIR'})] la poubelle
will generate elles ont sorti la poubelle
If the auxiliary is not set, these rules will apply:
-
pronominal verbs always use
ETRE
-
there is a short list of verbs that always take
ETRE
-
transitive verbs rather take
AVOIR
PASSE_COMPOSE can be used to mimic the passive form. elle #[+verb(getAnonFS(), {verb: 'convoquer', tense:'PASSE_COMPOSE', aux:'ETRE', agree:getAnonFS()})] will output elle est convoquée. But elle #[+subjectVerbAdj(getAnonFS(), 'être', 'convoqué')] generates the same output and is much simplier.
|
You can also use the parameter voice: 'Pass'
Pronominal form using pronominal:true
: ils #[+verb(getAnonMP(), {verb: 'immerger', tense:'IMPARFAIT', pronominal:true})]
will output ils s’immergeaient.