Skip to main content

deepler is a learning support tool that records the number of words that appear through DeepL. You can learn frequently used words efficiently.

Project description

deepler

deepler is a learning support tool that records the number of words that appear through DeepL. You can learn frequently used words efficiently.

# DeepL API Free Plan is here.
# https://www.deepl.com/pro#developer
$ export DEEPL_AUTH_KEY=<YOUR API KEY>

$ pip install deepler
$ deepler
usage: deepler [-h] {translate,hist,configure} ...
deepler: error: the following arguments are required: {translate,hist,configure}

Overview

# default configuration
$ deepler configure --show
{
  "ignores": [],
  "hist_file": "~/.config/deepler/counts.json",
  "min_length": 4,
  "source_lang": "EN",
  "target_lang": "JA",
  "count_lang": "EN"
}

$ deepler translate --text "deepler is a learning support tool that records the number of words that appear through DeepL."
input text(EN)
deepler is a learning support tool that records the number of words that appear through DeepL.

output text(JA)
deeplerは、DeepLを通じて出現した単語の数を記録する学習支援ツールです。

$ deepler hist
('that', 2)
('deepler', 1)
('learning', 1)
('support', 1)
('tool', 1)
('records', 1)
('number', 1)
('words', 1)
('appear', 1)
('through', 1)
('deepl', 1)

$ deepler translate --text "deepler is a learning support tool that records the number of words that appear through DeepL."
input text(EN)
deepler is a learning support tool that records the number of words that appear through DeepL.

output text(JA)
deeplerは、DeepLを通じて出現した単語の数を記録する学習支援ツールです。

$ poetry run deepler hist --num-words 3                                                                                                                                                                                                       [main]
('that', 4)
('deepler', 2)
('learning', 2)

$ poetry run deepler hist --min-count 3                                                                                                                                                                                                       [main]
('that', 4)

Currently, only space-separated languages can be counted.

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

deepler-0.1.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

deepler-0.1.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file deepler-0.1.2.tar.gz.

File metadata

  • Download URL: deepler-0.1.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.0 CPython/3.11.4 Darwin/22.6.0

File hashes

Hashes for deepler-0.1.2.tar.gz
Algorithm Hash digest
SHA256 74b298ff731c8ddd538f7f66f797e0d484c59bac6c8472b1483c84cae41ebbfa
MD5 41051026298dd333cda42ae630ab5524
BLAKE2b-256 c42dd8394573171bee92a96fbc4e5c451b32372f0999034321560ec5b379acf6

See more details on using hashes here.

File details

Details for the file deepler-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: deepler-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.0 CPython/3.11.4 Darwin/22.6.0

File hashes

Hashes for deepler-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 919dcc460568d2722103d11b678e5ca85bc98c2d21e444d30c0f4301b46ee5ef
MD5 8f64171a1f892313c83d1fb3b83961af
BLAKE2b-256 e84f5ad02281123e1d9626865860f2238c94b69691f67d3d544885ae3cad2326

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