You are on page 1of 4

11/30/2016 AnkiLPCG/README.

md at master · sobjornstad/AnkiLPCG · GitHub

Personal Open source Business Explore Pricing Blog Support This repository Search Sign in Sign up

sobjornstad / AnkiLPCG Watch 6 Star 37 Fork 6

Code Issues 2 Pull requests 0 Projects 0 Pulse Graphs

Branch: master AnkiLPCG / Find file Copy path

sobjornstad github's markdown processor won't accept float, so move screenshot up cea1ac4 on Jul 14

1 contributor

240 lines (186 sloc)   10.2 KB Raw Blame History

Anki Lyrics/Poetry Cloze Generator ﴾LPCG﴿ is an add‐on for Anki to make it easier to study long passages of verbatim text,
like poetry or song lyrics.

This is LPCG 1.0.0. Versions in the 0.x series were standalone Python scripts that had to be installed and run separately from
Anki; the add‐on approach taken by 1.0 and above should be much easier to set up and use for most users.

Editing LPCG notes
Summary of the LPCG note type
Appendix: Initial memorization of poetry

If you have any questions which are not answered by this manual, you can email me at

If you have found a bug or wish to suggest an improvement, you can post on the issue tracker or submit a pull request at

Theory 1/4

Use To add a poem to your collection. This is a bad idea because if you have trouble with any part of the poem. In my experience. contains the text from which your cards will be generated. it is a good way to review poetry.11/30/2016 AnkiLPCG/ speeches. Note that the Title field will be used to warn you if you already have this poem in your collection. Here is an example of a correctly formatted poem: # from “Little Gidding. Installation LPCG can be installed from its AnkiWeb page. everything else in the editor will be treated as the text of your poem. this is not a good way to memorize poetry: not seeing the full context makes initial acquisition quite frustrating. or whatever. and the very end of the poem will be marked with the character □. I’ll discuss “poetry. look at the Initial memorization section at the end of this manual. The large text box.” but everything applies equally to songs. People often try one of the following approaches: Putting the whole poem onto one card. If you don’t know a good way of initially learning poems. like Anki. it’s remembering them for long periods of 2/4 . you’ll have to fail the entire at master · sobjornstad/AnkiLPCG · GitHub Theory ﴾For clarity. LPCG takes a different approach: it generates cards that can stand on their own and make perfect sense in random order. and you will review far more often than you need to. The source is available at GitHub. Each card shows two lines from the poem and then asks you to recite the third line following them. is licensed under the GNU AGPL3. This is fine.﴿ Memorizing poetry can be a tough problem for Anki users: it isn’t obvious how to divide it into discrete cards. as well as appearing at the top of each of your cards. However. called the poem editor. Eliot  https://github. The LPCG note type also applies a hanging indent to any lines that do not fit on the screen in their entirety. Aside from this being impossible in the current version of Anki. the big problem isn’t learning things in the first place. so that each line is tested exactly once. The ends of stanzas will be marked with the character ⊗ ﴾this is a conventional marker for end‐of‐stanza in some fields﴿. spaced repetition scheduling doesn’t work properly unless the cards are in random order.S. LPCG understands blank lines between stanzas as stanza breaks. Lines beginning with the comment character  #  are ignored. One card is created per line. You will see the following window: The options should be fairly self‐explanatory. LPCG. Creating one card per line and defining an order for the cards. You can include one level of indentation by placing any number of spaces or tabs at the beginning of the indented line﴾s﴿. choose Tools → Import Lyrics/Poetry. because as most Anki users know. You can either type or paste a poem directly into the editor or open a plain text file somewhere on your computer using the Open file button. in the remainder of this documentation. so Anki asks for the lines in order.” movement II  # by T.

  When you’re done. since note types cannot contain an arbitrary number of fields or card types. which would break the neat correspondence anyway.      This is the death of earth.g. They should be inverses of each other ﴾e. try again until you get it right: read the line again. then look away and repeat it again. rather than just pressing edit. Appendix: Initial memorization The LPCG method requires you to memorize your poems before you start reviewing them in Anki. click Add notes to add the poem to your collection. just use your own method. line by line. If you already know how to memorize poetry. don’t listen to me. at some point you would have to create multiple notes for the same poem.  Dust in the air suspended  Marks the place where a story ended. Read through the poem again.g. and extremely large templates can cause syncing and other issues.  The parched eviscerate soil  Gapes at the vanity of toil. https://github. The amount of template boilerplate required would be absurd. If you haven’t already. you can make some changes in the styling section of the card types dialog: Hanging indent ﴾when a line is too long for the screen﴿: Change  margin‐left  and  text‐indent  in the  . Customization If you’d like to customize the width of indents. you can still see and select the whole poem at once. it’s retaining it that’s hard.  There are flood and drouth  Over the eyes and in the mouth. but this would be confusing to some users.  Dust inbreathed was a house –  The wall. 2.  "note:LPCG 3/4 .11/30/2016 AnkiLPCG/README. if  text‐indent  is 30 pixels. Title: The title of the poem that this line comes from.0" "Title:My Poem" ﴿ and then sorting by the Sequence field. there are a lot of good ways to memorize poetry initially. Note that LPCG takes the approach of creating a series of unrelated notes rather than a single note.  Laughs without mirth. If you don’t like the end‐of‐stanza or end‐of‐poem markers or they don’t appear in the font you’re using. you should search for the typo in the browser. immediately after you read each line. To correct the typo properly. The Sequence field helps to mitigate the disadvantages of having separate notes – by searching for a given poem ﴾e.      This is the death of air.  Dead water and dead sand  Contending for the upper hand. But if you don’t have a good method. read through the poem carefully so you have a general idea of how it goes. As alluded to in the Theory section. Creating one note per poem would have a number of serious disadvantages: Sibling burying would get in the way – it can of course be turned If you stumble or get it wrong. It is helpful but not strictly necessary to speak out loud. Editing LPCG notes Sooner or later you will probably find that you made a typo in one of your poems. You’ll also need to change  margin‐left  in the  . 1. Two of the errors will be in the Context field and one will be in the Line field. Note that this looks kind of oddly spaced in the editor ﴾but normal in review﴿ because the editor doesn’t use the same styling as the review window. Sequence: The line number ﴾counting only text lines. This time. Manual indent ﴾when an indent is given in the original poem text﴿: Change  margin‐left  in the  .  margin‐left  should be ‐30 pixels﴿..indent  class. not comments or blank lines﴿ of Line in the original poem. LPCG would not be able to support poems of arbitrary length. here’s one that works well for me. Context: Contains the two lines prior to at master · sobjornstad/AnkiLPCG · GitHub Ash on an old man’s sleeve  Is all the ash the burnt roses leave. since it will be on three different notes.cloze  section to match  text‐indent .. look away from the page and repeat the line back.  The death of hope and despair. you can edit the add‐on ﴾Tools → Add-ons → LPCG → Edit﴿ and change the  END_OF_STANZA  and  END_OF_TEXT  strings near the top. Summary of the LPCG note type The four fields of the note type are as follows: Line: Contains the line this card asks you to recite. the wainscot and the mouse.lines  class.

even doing it over several days. four. 4. go back and work on any spots you don’t have down yet. Once you have the poem learned. Don’t work for more than a few minutes. otherwise. © 2016 GitHub. you may have it already. If the text is easy. Try reciting the poem straight through.11/30/2016 AnkiLPCG/README. Inc. Most likely the poem will now come very naturally to you. Particularly difficult texts may require one more day. don’t forget to put it into Anki if you want to remember it beyond the next couple of weeks – this is when LPCG comes into play. at master · sobjornstad/AnkiLPCG · GitHub 3. just touching all the difficult spots is enough. before you know it you’ll be able to remember six lines at a time. and six. Do not skip this step! The rest will be easy if you do it and quite frustrating if you don’t. since you’re getting more familiar with the poem as well. repeat step 5. It is unnecessary to continue this process beyond six lines. No particular method is necessary at this point. Set the poem aside until the next day – it is truly remarkable how much easier it is to continue after a good night’s sleep. The next day. but not 4/4 . you’ll spend 90% of your concentrated time in this step. Repeat step 2. It is totally fine to take breaks during step 3. five. and it’s not helpful to try to work when you’re tired. but take two lines at a time – then repeat with three. You will find it gets a little bit harder each time. Terms Privacy Security Status Help Contact GitHub API Training Shop Blog About https://github.