Skip to main content

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] [-A|--ABU] [-D|--DELA] [--debug] [--help|-?] [--locale LANG] [--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.

You can convert entries from a dictionary format to the other, using the -A|--ABU and -D|--DELA options.

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
-A|--ABU Enable ABU format output
-D|--DELA Enable DELA format output
--debug Enable debug mode
--help|-? Print usage and a short help message and exit
--locale LANG Override environment to select another language
--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

Hubert Tournier

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.

When converting from a dictionary format to the other, you'll lose semantics information (such a +z1, +AE, etc.).

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pnu_conjuguer-0.5.1.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

pnu_conjuguer-0.5.1-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file pnu_conjuguer-0.5.1.tar.gz.

File metadata

  • Download URL: pnu_conjuguer-0.5.1.tar.gz
  • Upload date:
  • Size: 22.3 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.3 CPython/3.8.12

File hashes

Hashes for pnu_conjuguer-0.5.1.tar.gz
Algorithm Hash digest
SHA256 d055c5033ce928ba5fa3d4409a8c48dfba194c405a255431dfd01fe069efdae8
MD5 efb7d90b3251b5d35224505b31f5d3f7
BLAKE2b-256 c597a2ad31f74c41e236102a3c6671914adbecd2abe8968edafeef10595e2452

See more details on using hashes here.

File details

Details for the file pnu_conjuguer-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: pnu_conjuguer-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 22.3 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.3 CPython/3.8.12

File hashes

Hashes for pnu_conjuguer-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d8a85fa721fa8edd137260730803a86eac12c44a5c28dab7a9251c7e19aa1825
MD5 68ce13221e814518c87bcce687039ba3
BLAKE2b-256 2c73e95a618f1cd18f488c0a737146cdf5539142bb784bf9244e32826cd14be9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page