Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

new revision #15

Merged
merged 31 commits into from
Jul 13, 2021
Merged

new revision #15

merged 31 commits into from
Jul 13, 2021

Commits on Jul 7, 2021

  1. docs: added example files

    thiswillbeyourgithub committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    c107544 View commit details
    Browse the repository at this point in the history
  2. new revision needs new libraries

    thiswillbeyourgithub committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    2eaa499 View commit details
    Browse the repository at this point in the history
  3. added example script by users

    thiswillbeyourgithub committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    96af48d View commit details
    Browse the repository at this point in the history
  4. new revision readme

    thiswillbeyourgithub committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    fd4f5f0 View commit details
    Browse the repository at this point in the history
  5. modified: autocards.py

    feat: added progress bar for paragraphs
    feat: consume wikipedia summary from keyword
    feat: consume directly from pdb
    feat: consume directly from webpage, with several fallback methods and
        ability to change what matters to something else than "p"
    feat: consume directly from user inpu
    style: renamed a lot of function to make it more clear
    fix: instead of using csv library, use pandas to output as csv
    feat: output as json
    feat: output directly the pandas dataframe
    feat: all functions include docstrings
    feat: all code is PEP compliant
    fix: set an environnement variable for the tokenizer otherwise
        you get a warning written at the top of the output file
    fix: prints a message when autocard is loading as it can be long
        on slow devicecs
    refactor: self.qg is called differently, it is now wrapped so as to be
        part of a dataframe
    feat: txt containing wikipedia style reference like [5] is sanitized
    fix: when outputting as csv, all included commas are escaped
    feat: consume_web uses several ways to find the title of the webpage
    fix: renamed self.clear to self.clear_qa for clarity
    feat: added self.string_output() to allow the user to get directly the
        output instead of only being able to print it
    feat: self.print and self.pprint allow to print and pretty print the
        output
    new: added a commented section that allows to pause the script
        using ctrl+c then resume it later. Very useful when running on very
        large text but could potentially cause issues when uploading it to
        PyPi so I commented it
    thiswillbeyourgithub committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    9338b1c View commit details
    Browse the repository at this point in the history
  6. Update README.md

    mentions downloading punkt for first time users
    thiswillbeyourgithub authored Jul 7, 2021
    Configuration menu
    Copy the full SHA
    db01b7e View commit details
    Browse the repository at this point in the history
  7. Update autocards.py

    _sanitize_text was missing a docstring
    thiswillbeyourgithub authored Jul 7, 2021
    Configuration menu
    Copy the full SHA
    03ca81c View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. better _sanitize_text function

    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    1204b35 View commit details
    Browse the repository at this point in the history
  2. style: methods called after pandas

    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    4cc55c5 View commit details
    Browse the repository at this point in the history
  3. remove function defined but used once

    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    0142744 View commit details
    Browse the repository at this point in the history
  4. removed commented section launching pdb

    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    d1a6abf View commit details
    Browse the repository at this point in the history
  5. better docstring for sanitize text

    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    9d5d8c3 View commit details
    Browse the repository at this point in the history
  6. removed unecessary import from the commented area

    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    4355add View commit details
    Browse the repository at this point in the history
  7. style: added better default titles

    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    f18762c View commit details
    Browse the repository at this point in the history
  8. PEP8: line was too long

    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    3e57726 View commit details
    Browse the repository at this point in the history
  9. modified: autocards.py

    fix:
    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    e139367 View commit details
    Browse the repository at this point in the history
  10. minor: wrong fstring and extra newline at EOF

    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    823e4ff View commit details
    Browse the repository at this point in the history
  11. fix: better title for text file

    thiswillbeyourgithub committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    c1d2b25 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2021

  1. docs: csv_export is now to_csv, same for json

    thiswillbeyourgithub committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    ea70298 View commit details
    Browse the repository at this point in the history
  2. docs: clearer text

    thiswillbeyourgithub committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    6fcb6db View commit details
    Browse the repository at this point in the history
  3. missing ebooklib + remove extra newline

    thiswillbeyourgithub committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    213c121 View commit details
    Browse the repository at this point in the history
  4. docs: minor phrasing

    thiswillbeyourgithub committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    90c69ae View commit details
    Browse the repository at this point in the history
  5. remove useless notebook

    thiswillbeyourgithub committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    de023d2 View commit details
    Browse the repository at this point in the history
  6. style: renamed qa_pairs to qa_dict

    thiswillbeyourgithub committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    dea3d44 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2021

  1. phrasing

    thiswillbeyourgithub committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    6e94f6b View commit details
    Browse the repository at this point in the history
  2. more robust epub extraction

    thiswillbeyourgithub committed Jul 11, 2021
    Configuration menu
    Copy the full SHA
    bb82eb9 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2021

  1. adds basic cloze functionnality and notetype

    thiswillbeyourgithub committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    088bfe6 View commit details
    Browse the repository at this point in the history
  2. adds basic cloze functionnality and notetype

    thiswillbeyourgithub committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    0f40dd3 View commit details
    Browse the repository at this point in the history
  3. added docstring for main class

    thiswillbeyourgithub committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    92eca6a View commit details
    Browse the repository at this point in the history
  4. feat: added a store_content and watermark flag

    thiswillbeyourgithub committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    3576c7f View commit details
    Browse the repository at this point in the history
  5. minor style

    thiswillbeyourgithub committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    978e9ff View commit details
    Browse the repository at this point in the history