Mining subtitles
Sentence mining is the act of creating flashcards out of sentences. asbplayer allows you to create high-quality sentence flashcards by combining video, audio, and subtitles into a single card. asbplayer integrates with Anki, a popular flashcard application.
Setup Anki
- Install Anki.
- Add AnkiConnect to Anki.
- If mining from video files, add
https://killergerbah.github.io
to thewebCorsOriginList
in AnkiConnect's settings:{
"apiKey": null,
"apiLogPath": null,
"ignoreOriginList": [],
"webBindAddress": "127.0.0.1",
"webBindPort": 8765,
"webCorsOriginList": [
"https://killergerbah.github.io" // <-- Make sure this line is here
]
} - Add a Deck.
- Add a Note Type.
We encourage you to create your own note type or use a pre-made one. But if you'd like to just get started follow the steps below to create a basic note type:
- Click Tools → Manage Note Types.
- Add a "Basic" note type.
- Configure Fields:
- Sentence
- Word
- Definition
- Image
- Audio
- Source
- URL
- Configure Card:
- Front:
{{Sentence}}
- Back:
{{FrontSide}}
<hr id=answer>
{{Definition}}
<p/>
<div class="image">
{{Image}}
</div>
<p/>
{{Audio}}
<p/>
{{Source}}
<p/>
{{URL}}
- Front:
Configure asbplayer
- Open asbplayer's settings.
- Select the Deck and Note Type you just created.
- For each of the Sentence, Definition, Word, Audio, Image, Source, and URL fields, select the corresponding field in the note type.
Install a dictionary app
asbplayer does not have a built-in dictionary. We recommend installing a dictionary app to make it easy to fill out the Definition field of cards. Below are a couple popular ones:
- Yomitan is a browser extension that allows you to lookup words by hovering over them. It was originally made for Japanese, but is beginning to support other languages as well.
- VocabSieve is a standalone language-learning app with support for European languages.
Mine subtitles
- Load subtitles onto any video source.
- Click the Mine Subtitle button .
- Fill out the dialog that appears and click Export.