Giter Club home page Giter Club logo

hebrew-tools-pdf-reader-flashcard-generator's Introduction

Hebrew-Tools-PDF-Reader-Flashcard-Generator

Description: Generate .csv files for flashcards from the LATEX at https://reader.hebrewtools.org

How do I use this?

  • Run the python file
    • For example, with python3 main.py

You can supply command line arguments to tweak values. Below, you can see the argument name with a brief description.

Argument Description Default value
fileToReadFrom The LATEX file that will be read from to generate the words to turn into flashcards Defaults to demo.tex
fileToWriteTo The output .csv file produced by the code Defaults to output.csv
mostCommonWordsFile The file that stores the x most common words - these words are not saved when the output .csv is generated. If you want to save every value in the file to the .csv file, set this to a blank document Defaults to 500MostCommon.csv

These values are given in the format:

python3 main.py fileToWriteTo=myFile.txt fileToReadFrom=myOtherFile.txt

What is this script?

  • https://reader.hebrewtools.org lets you generate PDF or LATEX files in Hebrew from passages supplied in the Hebrew Tanach (Old Testament). You can optionally create a document with the words supplied at the bottom
  • This script takes the LATEX version, and puts all the words used in a .csv file
    • In addition, the code does not add the words in (by default) the 500MostCommon.csv file.
      • If you are learning words, you don't want to be taught words you already know!
  • The file contains word and definition
  • This .csv file can easily be imported into programs such as Anki, to give flashcards for a specific book

How much has been developed?

  • This has been developed to a reasonable extent. While a UI has not veen developed, this is not really needed for a simple script.

hebrew-tools-pdf-reader-flashcard-generator's People

Contributors

jacob-macleod avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.