conjugaison des verbes Français
Project description
Installation
pip install pnu-conjuguer
CONJUGUER(1)
NAME
conjuguer — conjugaison des verbes Francais
SYNOPSIS
conjuguer [-c|--columns NUM] [-d|--dictionary PATH] [-n|--nocolor] [--debug] [--help|-?] [--version] [--] verb [...]
DESCRIPTION
The conjuguer utility 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|--nocolor option.
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|--columns option.
The data is obtained from a DELA or ABU type inflected French dictionary, rather than generated. The dictionary will be selected from the DICTPATH environment variable, or obtained from the -d|--dictionary option if used. The dictionary type is automatically detected.
OPTIONS
Options | Use |
---|---|
-c|--columns NUM | Choose number of columns to display between 1, 2 or 4 |
-d|--dictionary PATH | Select a specific dictionary |
-n|--nocolor | Disable color output |
--debug | Enable debug mode |
--help|-? | Print usage and a short help message and exit |
--version | Print version and exit |
-- | Options processing terminator |
ENVIRONMENT
The 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.
FILES
The dict-fr-AU-DELA file is the preferred dictionary used, if found in the DICTPATH.
Else, the dict-fr-DELA file or the dict-fr-ABU-mots_communs file (which contains half of the verbs in the DELA) will be used instead.
EXIT STATUS
The conjuguer utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
typo(1), spell(1), ispell(1), aspell(1), hunspell(1), dict(7)
STANDARDS
The conjuguer utility is not a standard UNIX command.
This utility tries to follow the PEP 8 style guide for Python code.
HISTORY
This utility was made for the PNU project, both as a way to test inflected dictionaries, and to validate the data inside.
LICENSE
It is available under the 3-clause BSD license.
AUTHORS
The source code also includes a snippet of code from Martijn Pieters, for stripping ANSI sequences in strings.
CAVEATS
The 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.
I do not have a French localized version yet, which is weird for a French language utility.
BUGS
There 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...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pnu_conjuguer-0.2.3.tar.gz
.
File metadata
- Download URL: pnu_conjuguer-0.2.3.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65b9f289ae129605c0034cff3bc9e04f5846162bebd9093a15577aa2814014e6 |
|
MD5 | c5ac27e9d020408c10fd3b376a68525b |
|
BLAKE2b-256 | aebd59f8796b070901b9c12538cb229b118969db5a6054e7173c05a8bcf76621 |
File details
Details for the file pnu_conjuguer-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: pnu_conjuguer-0.2.3-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02453fac7696149da86d4a1d3f4c5046e2271574589996d857b0bfa8ea9d9ab6 |
|
MD5 | c4d4f455a7489c7294516ec0483d3d93 |
|
BLAKE2b-256 | ad48fce3585cd7f96b72c631e40a5c3b6101d40986ad975934fa47f1a9f7cfa8 |