Skip to main content

A simple command-line tool for searching Wiktionary.

Project description

Search Wiktionary

A simple command-line tool for searching English Wiktionary using Wiktionary Parser (click).

Wiktionary definitions are licensed under CC BY-SA 4.0. Visit wiktionary at wiktionary.org (click).

Installation

To install, run:

pip install search_wikt

Or, to clone the repository run:

git clone https://github.com/lauramvx/search_wikt
Examples
py src\search_wikt\core.py hunig -l "Old English"
hunig
From Proto-West Germanic *hunag, from Proto-Germanic *hunagą. Cognate with Old Frisian hunig, Old Saxon honeg, and Old High German honag; also Old Norse hunang, from the alternative form *hunangą.

IPA: /ˈxu.nij/, [ˈhu.nij]
noun
huniġ n
honey
py src\search_wikt\core.py ac -l "Old English" -ex -r
ac 1
From Proto-Germanic *aiks.

IPA: /ɑːk/
IPA: /ɑk/
noun
āc f
oak (wood or tree)
(poetic) an oaken ship
(masculine) the runic character ᚪ (/a/)
ac 2
From Proto-Germanic *ak.

IPA: /ɑːk/
IPA: /ɑk/
conjunction
ac
but
but instead: in this sense ac should sometimes be translated as "but," but most often it is best left untranslated


Sēo æx forġiett, ac þæt trēow ġeman.The axe forgets, but  the tree remembers.
The axe forgets, but  the tree remembers.
Ne ġēotaþ wē tēaras, ac blōd.We don't shed tears, we shed blood.
We don't shed tears, we shed blood.
Nōn egō, sed tū: “Nā iċ, ac þū.” Nōn bōs est, sed equus: “Nis hit nā oxa, ac is hors.”Non ego, sed tu: “Not me, you.” Non bos est, sed equus: “It's not an ox, it's a horse.”
Non ego, sed tu: “Not me, you.” Non bos est, sed equus: “It's not an ox, it's a horse.”

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

search_wikt-0.0.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

search_wikt-0.0.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file search_wikt-0.0.2.tar.gz.

File metadata

  • Download URL: search_wikt-0.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for search_wikt-0.0.2.tar.gz
Algorithm Hash digest
SHA256 de30a341f89af3f0cf2854b9d68a7f605352cc7c99481194242af99746e03a37
MD5 cd228823f402bd77a3e41fc6bde1a994
BLAKE2b-256 3871ea9b52287e06e1a949abe51d2b448daba7a040c3ec68f04c6a172fcd67e8

See more details on using hashes here.

File details

Details for the file search_wikt-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: search_wikt-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for search_wikt-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 167d209ae4cdc68feb41ee8d850958a5e53076e5cd36903c5fdd24cc13e9ad76
MD5 835333acd43863f1750016ad6a7fa81a
BLAKE2b-256 8fa53c97ce37cc73859cd56288d60381ac8c059463db1b46eb986eccff591b1c

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