French Verbs Support

This is the documentation for 1.17.0 version, which is not the latest version. Consider upgrading to 3.4.0.

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

  • CONDITIONNEL_PRESENT

  • IMPERATIF_PRESENT

  • SUBJONCTIF_PRESENT

  • SUBJONCTIF_IMPARFAIT

  • PASSE_COMPOSE

  • PLUS_QUE_PARFAIT

For PASSE_COMPOSE and PLUS_QUE_PARFAIT, you have to indicate:

  1. Which auxiliary to use (être or avoir): set aux to AVOIR or ETRE

  2. With what to agree the participle (optional, masculine singular being the default): set agree

  3. NB: when aux is ETRE, 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.

Pronominal form using pronominal:true: ils #[+verb(getAnonMP(), {verb: 'immerger', tense:'IMPARFAIT', pronominal:true})] will output ils s’immergeaient.