by blackbrokkoli · 2y ago · 0 comments
One minor feedback: I would like a larger, much more prominent toggle to turn the translation on and off — not that the setting is hard to find, but I found myself wanting to quickly toggle the add-on (e.g. off for serious work) and the small checkbox feels a bit fiddly.
More technical question since I'm interested in language learning software: How do you implement sentence difficulty, and how do you track user progress, aka when do you show harder sentences?
Sentence difficulty is all calculated on the English side, because it would be prohibitively expensive to translate before doing the calculation. It uses the vocabulary difficulty (via bloom filters - I'm planning to write a blog post with more detail on how I made it performant) and some grammar heuristics (punctuation, case/tense, etc).
Users don't automatically progress - perhaps I should have made that clearer. You choose your difficulty using the slider in the extension popup, deciding yourself when it's a good time to increase it.
If you want some inspiration for the toggle: have you ever seen the Firefox uBlock Origin plugin UI? They basically have a giant on/off button, which I think is a rather good solution.
Interesting approach for the difficulty evaluation, and rather pragmatic. If you happen to have some write-up for the grammar heuristics or more detailed sources, I'd be interested :)
Definitely didn't realize I had to set difficulty manually (but maybe I'm just blind). Would be interesting to see if there's any smart way of auto-evaluating progress...maybe something like occasionally asking how difficult a sentence that the user hovers was or even just passive signals such as whether sentences are hovered. Just because if difficulty would be evaluated by the software, you'd both have a non-subjective measurement of your progress and you truly just could have this on in the background, never thinking about it, and still always learn.
Just some random thoughts; in any case good luck with this!