Skip to content

asgervelling/wikitranslator

Repository files navigation

Tests

Wikitranslator

Translate using Wikipedia

Typically when I can't find a translation in a dictionary, I find its article on Wikipedia in the language I want to translate from, switch the language and read the title of the translated article. This tool automates that process.

Usage

Let's translate the term "Linear algebra" from English to Russian:

>>> wikit "linear algebra" en ru
Линейная алгебра

Installation

git clone [email protected]:asgervelling/wikitranslator.git
cd wikitranslator
pip install .

Proxy servers

If you wanna use proxy servers, you can add them in .env:

http_proxy='http://proxy_1.com:port'
http_proxys='http://proxy_2.com:port'

Then you can choose to use proxy servers using the -p (--proxy) flag:

wikit -p "Vand" dan german

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages