Package: pnu-conjuguer
Installationpip installpnu-conjuguerCONJUGUER(1)NAMEconjuguer — conjugaison des verbes FrancaisSYNOPSISconjuguer[-c|--columns NUM]
[-d|--dictionary PATH]
[-n|--nocolor]
[-A|--ABU]
[-D|--DELA]
[--debug]
[--help|-?]
[--locale LANG]
[--version]
[--]
verb [...]DESCRIPTIONTheconjuguerutility displays a French conjugation table for the verbs supplied on the command line.It will display the verb modes and tenses in color, unless you use the-n|--nocoloroption.The display will be made in 4 columns, Bescherelle style (a famous verbs dictionary),
or in 1 or 2 columns if you use the-c|--columnsoption.The data is obtained from a DELA or ABU type inflected French dictionary, rather than generated.
The dictionary will be selected from theDICTPATHenvironment variable,
or obtained from the-d|--dictionaryoption if used.
The dictionary type is automatically detected.You can convert entries from a dictionary format to the other, using the-A|--ABUand-D|--DELAoptions.OPTIONSOptionsUse-c|--columns NUMChoose number of columns to display between 1, 2 or 4-d|--dictionary PATHSelect a specific dictionary-n|--nocolorDisable color output-A|--ABUEnable ABU format output-D|--DELAEnable DELA format output--debugEnable debug mode--help|-?Print usage and a short help message and exit--locale LANGOverride environment to select another language--versionPrint version and exit--Options processing terminatorENVIRONMENTThe CONJUGUER_DEBUG environment variable can be set to any value to enable debug mode.The DICTPATH environment variable is searched for one of the default dictionary files.Alternatively, the CONJUGUER_DICT environment variable can also be set to the path of the dictionary file you want to use.FILESThedict-fr-AU-DELAfile is the preferred dictionary used, if found in theDICTPATH.Else, thedict-fr-DELAfile or thedict-fr-ABU-mots_communsfile (which contains half of the verbs in the DELA) will be used instead.EXIT STATUSTheconjuguerutility exits 0 on success, and >0 if an error occurs.SEE ALSOtypo(1),spell(1),
ispell(1),
aspell(1),
hunspell(1),
dict(7)STANDARDSTheconjuguerutility is not a standard UNIX command.This utility tries to follow thePEP 8style guide forPythoncode.HISTORYThis utility was made for thePNU project,
both as a way to test inflected dictionaries, and to validate the data inside.LICENSEIt is available under the3-clause BSD license.AUTHORSHubert TournierThe source code also includes asnippet of codefrom Martijn Pieters, for stripping ANSI sequences in strings.CAVEATSThe results are only as good (or bad) as what's included in the dictionary used.
The data in both the ABU and DELA dictionaries obviously contains errors, often on the same verbs...
I do not know yet the proportion of correct conjugations.When converting from a dictionary format to the other, you'll lose semantics information (such a +z1, +AE, etc.).BUGSThere are probably lots of peculiarities that would need specific processing,
the verbs conjugated with the "être" auxiliary when used with a pronoun for example.Though the software is probably mostly correct, I will consider it as Beta quality
till I get a better idea of the quality of the source data and offer a way to improve it...