Annotation
asbplayer can annotate subtitles to better assist with language learning. Annotation features include:
- word styling (color/underline/outline, etc.) based on a word's status (uncollected/unknown/learning, etc.)
- known status can be sourced from and synced with Anki, WaniKani, and/or tracked locally in asbplayer (includes import/export features to help seed known words)
- reading annotation (readings displayed above each word or based on status)
- frequency annotation (rank-based frequency displayed below each word or based on status)
- many more features for future releases!
info
Annotation requires a configured Yomitan instance and the yomitan-api.
If you rely on the local word database, installing the asbplayer browser extension is recommended so your browser is less likely to delete stored words. If you can’t install the extension, consider periodically exporting your settings and/or local words as a backup.
Setup
- Open asbplayer Settings.
- Go to the Annotation section.
- Select the track you want to configure.
- Configure the Yomitan URL for that track.
- You will need a configured Yomitan instance and the yomitan-api.
- If the URL is invalid or unreachable, asbplayer will show an error next to the setting.
- Frequency information requires at least one rank-based frequency dictionary to be available in your Yomitan instance.
- (Anki users) Configure which cards to source known status information from
Anki decksshould typically be left blank to source from all decks, filtering by the fields is usually sufficient.Anki word fieldscorrespond to the field on the Anki note that contains only the target word.Anki sentence fieldsshould only be used for Anki notes that do not have a dedicated word field (such as sentence decks). These words are treated as a fallback if a word isn't present in the Anki word fields.- To populate the database, use
Re-build Anki word databaseafter configuring these fields.
- (WaniKani users) Visit WaniKani > Settings > API Tokens to create a token for asbplayer.
- In the
Token Descriptionfield enterasbplayer, leave allPermissionsunchecked, asbplayer only needs read access to your WaniKani account. - Click
Generate tokenand copy the generated token intoWaniKani API token. - To populate the database, use
Re-build WaniKani word databaseafter configuring the API token.
- In the
- Enable your desired annotation features (styling, reading, frequency, etc.) for that track. Customize other settings as desired.
- If
Only show annotations on hoveris enabled, you will need to hover subtitle text to see annotations.
- If
- For detailed explanations of each option, see the Annotation section of the settings reference.
Troubleshooting
Please refer to the common issues section of the docs for troubleshooting annotation issues. If you can't find a solution there, please submit a bug report with detailed information about your issue and steps to reproduce it.