Idea for Words Tab statistics

I was looking at the new Words tab (which is super cool by the way) and had some ideas. They're not super big ideas really, just some thoughts that I thought up and kind of drew in photoshop.

Basically the gist of my idea is to be able to see the amount of words that you need to work on, and their percentage, versus the ones you already know. And then also you can compare it to how much of the language you've learned already. I know it's a crazy amount of programming but I thought it was kind of neat (at the least I thought it was nice looking) so here's the pic:

June 16, 2014

Yeah, I thought of that. It would definitely be very useful. Here's what I came up with as a very simple substitute: with Google Chrome, go to the words-page, and right-click. Choose "Inspect Element." Go to the Console tab. Paste this code, and press enter:

<pre>for(var i=1;i<5;i++){console.log("Number of strength "+i+" words: "+(\$(".word-strength-icon.strength-"+i).length-1));} </pre>

It'll output the number of words of each strength.

For Internet Explorer, press F12 and click Console.
For Firefox, click Tools > Web Developer > Web Console.

June 16, 2014

Nice!

The code is displayed a bit wrong: the "i<5" has been escaped to be "i&lt;5". Once I'd fixed that I got:

Number of strength 1 words: 705 Number of strength 2 words: 130 Number of strength 3 words: 401 Number of strength 4 words: 1443

So mine appears to be a bit of a "U" shape, with a lot at either end!

June 16, 2014

I fixed the lt; thing. It must have happened when I copied the code over. Thanks for telling me.

I get the U shape too. I tried graphing your data and mine (scaling them to make the word count the same) and got this:

(Vertically inverted)

Based on the graph, it looks like everything less than a certain strength is sorted into the bottom category, and everything above a certain strength goes in the top category.

June 17, 2014

Yes, makes sense.

Thanks again for the hack, I had been wondering about what the split was between various strengths and was going to do something to parse the downloaded data. Your idea is much easier :-)

June 17, 2014

Aha! Very useful! I actually used F12 to edit some of the words to help make the picture easier. Thank you thought, this is a very useful solution. (I even recognize some of the programming from my java learning last semester!)

June 18, 2014

My account doesn't have the Words page. :(

June 16, 2014

That because not everyone has it at this particular point in time. Just a bunch of people are in the test group!

June 16, 2014

I know it is just a picked few...I'm just disappointed I'm not one of them.

June 16, 2014

I feel you... I don't have it, either! Let's rejoice with bliss together. :) J'aime le franÃ§ais malgrÃ© n'avoir pas des mots ! Nous sommes toujours apprendre. :D

June 17, 2014

Vous etes plus bon a francais que moi, mais je crois je comprends. D'accord!

June 18, 2014

Great idea, it would be very useful. At the moment I seem to have pages of overdue words, although I know that I have used some of them in the last few sessions. Hopefully a glitch that will be sorted soon, because it is great to have the vocabulary back!

June 16, 2014

Think it'd also be useful to have the gender and the translation (in the second language) to the right of the left column (the word column). And yes I know you can hover . . . . . . . .

June 17, 2014

Where is the Words tab, I cannot seem to find it...?

July 12, 2014

Not out for everyone.

July 12, 2014