How does hunspell works - hunspell

I looked for a paper which explains how does hunspell works, but without any success.
I would like to know how does hunspell works and especially how does it make suggestions ? Does it uses Levenshtein distance to look for the best suggestion ?
Thanks

Related

Extension like Picture-in-Picture (by Google) but for any part of the browser and not just videos?

Hiyah!
I'm sorry for this strange post, just need help articulating my thoughts into something practical. I really could use an extension to basically select any part of the browser window and use it as a floating window (always on top of other windows).
It'd be awesome if something like this existed and I'd love a name in that case! If not, maybe any of you know of similar open source projects that I could take a look at? I'd try to write my own extension if there's nothing like that, so basically could use any keywords to simplify my research. I've been learning full stack web dev for a few months now, so I think it's in realm of possibilities for me.
Thanks for your time!

core-style correct usages and use cases

I started using core-style in (mostly) all of my components. On 0.4 it was pretty helpful, but i can't really see why should i use it now with 0.5. Is there any specifics to when should i use it?
Any case in particular?
ps.: The thing is: data-binding had a bunch of problems which i haven't encountered so far on .5. Can anyone help me? I know it's a bit broad question but i don't want to go through the trouble of getting it out of my code then back in again just so i know where i should actually be using it.
Core-style is useful to create shared themes across the application. Take a look at this artcile http://pascalprecht.github.io/2014/08/01/sharing-styles-across-web-components-with-polymer-and-core-style/

Google multilingual sitemap issue

I have a sitemap issue.
I am working on a multilingual website and I'm trying to use the Google method to indicate alternate language pages, as it is described here : https://support.google.com/webmasters/answer/2620865?hl=en.
You can see my sitemap here : http://preprod.fabric-a.fr/princesse-nomade/sitemap.xml
It seems that this sitemap is broken, and I don't understand why, it respects the example given by google..
Curiously, when I replace xmlns:xhtml="http://www.w3.org/1999/xhtml" by "xmlns:xhtml="http://www.w3.org/1999/xhtml:link", it seems to appear not broken.
But it is clearly incorrect.
I'm lost, some sitemap testers are telling me that it is correct. Others are telling me that the <priority> and <changefreq> balise are not correct regarding to the namespace used.
Is anyone has a clue to help me, I would appreciate, I find a lot of informations about sitemap, but nothing about this precise problem.
Thanks by advance for your help !
EDIT :
I'm still looking for an answer and I found this answer from this topic :
http://forum.elxis.org/index.php?topic=7575.50;wap2
It is told that the http://www.w3.org/1999/xhtml namespace doesn't support the <xhtml:link /> balise.
The namespace that should be used is this one : http://www.w3.org/TR/xhtml11/xhtml11_schema.html
I just tried, and it is well parsed by navigators. If this is correct, I really don't understand why Google gives a wrong tutorial on his own site ..
I would be happy to get some advices from SEO experts about this !

Why design by contract isn't more popular?

In theory, it seems like a great solution for avoiding bugs, but why in practice we hear so little about it?
Why can't we see more support for it on Java or .net for example?
i have been searching around for this answer too. But it seems like its not popular among the programming world. Therefore theres not much people discussing about it.
I tried using it, however i find it a hassel to really think what contracts i should write while i am programming. However its good for debugging.
have you tried? whats your comments on it?

Write formula in html

How to write formula in html page?
For example I need to write square root of x power 2 minus y. I know only one way, LaTex. But I need easier way. I'm writing quiz testing system. Students should write answer, that contains formula. How could I do this?
Check out MathJax, which is used on math.stackexchange.com.
The only two answers I know of for that are using images:
http://www.cs.tut.fi/~jkorpela/math/
...or using HTML math notation for that (although it is not that simple to use)
http://www.unics.uni-hannover.de/nhtcapri/mathematics.html
You also have this alternative, but it seems rather experimental...
http://www.w3.org/MarkUp/HTMLPlus/htmlplus_45.html
http://meta.wikimedia.org/wiki/Help:Displaying_a_formula
Still, I hope it helps...
This is a utility to write math (using LaTeX syntax) in HTML, but you also need to have LaTeX installed on your machine to generate the images of the formulas.
If you do not need to render the answer, just make it is correct, then the best way to go is probably to allow them to use something like sqrt(), ^ for power, etc..
I find this is the easiest way of writing if the input is for a machine.
You could just provide a small list of allowed functions with examples.
The bonus here would be that you can probably look around for a lib and use it to evaluate the answer.
So your example would be written like: sqrt(x^2)-y
Of course this can get very messy if you need to write complex equations but for the level you presented it should work fine.