Skip to content

mohmehdi/Mochi_longman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mochi_longman

A simple python script to retrieve words from Longman dictionary and turn them into Mochi markdown flashcard type

mochi_flash_bash mochi_side

Whats this?

  • saves words as markdown flashcards
  • retrieve the pronunciation, examples, etc.
  • gets all the defenitions
  • easy to use with git-bash
  • very colorful

How to install

open a bash and run python -m venv venv

pip these after activating venv:

pip install pyenchant

pip install beautifulsoup4

pip install requests

pip install lxml

pip install python-vlc

How to use

the script saves all flashcards on data\default

  • run run.bat
  • choose to add a new word
  • import the flashcards from mochi as markdown

Note

if run.bat didn't work simply change the path to your git bash

start "" "C:\Program Files\Git\git-bash.exe" -c "./run.sh"

sequence for each word is

  • word
  • pronunciation
  • examples
  • definition and then the same repeats for other definitions

About

A simple python script to retrieve words from Longman dictionary and turn them into Mochi markdown flash card type

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages