CLI frontend for English Wiktionary.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Frederick Yin 7be8548a38
Add pipe description in README
2 years ago
wikt Pipe automation 101 2 years ago
.gitignore v0.0.1 2 years ago
LICENSE Add MIT license 2 years ago
README.md Add pipe description in README 2 years ago
example.py Add wiktionaryparser example output 2 years ago
setup.py v0.0.1 2 years ago
wordlist Pipe automation 101 2 years ago

README.md

wikt-cli

Installation

pip install wikt-cli

Usage

In debugging, substitute python -m wikt for wikt in the following examples.

wikt <word>

Example output

Etymology:
    From meta-, back-formed from metaphysics.

    Definitions:
        (adjective) meta (comparative more meta, superlative most meta) (informal)
        Self-referential; structured analogously, but at a higher level.

Etymology:
    From Latin mēta.

    Definitions:
        (noun) meta (plural metas) Boundary marker. Either of the conical columns at
        each end of a Roman circus.

Etymology:
    Clipping of metagame.

    Definitions:
        (noun) meta (plural metas) (video games) Metagame; the most effective tactics
        and strategies used in a competitive video game.

        (adjective) meta (comparative more meta, superlative most meta) (video games)
        Prominent in the metagame; effective and frequently used in competitive
        gameplay.

Etymology:
    Clipping of metaoidioplasty.

    Definitions:
        (noun) meta (plural metas) (informal) Metoidioplasty.

Usage with pipes

cat wordlist | wikt - --impatient

The - after wikt means to take stdin (cat's output) as input.