Detailed documentation on the Hunspell. Very needed - hunspell

Who has detailed documentation on the Hunspell format?
Unfortunately, I found out that it is difficult to find detailed documentation for this format. This is all the more strange because Hunspell is considered to be a very popular format.
Maybe someone else has utilities to work with Hunspell?

Related

Usage of JWK in a JWS

I'm trying to learn about JWT. I've read several blog post and a github repo and I think I've understood it quite well.
There's this library in Haskell that deals with JWT and its kind. In this library, using JWK is mandatory, while most of the library I used in another language doesn't. I'm puzzled of what JWK is, seems it is hardly mentioned in the blog post I've read so far.
A quick search yields a result that what I think about JWK is, I don't know if it's right, is basically a JSON object that can be used as a secret
and specifying what algorithm is supported. Can someone clarify that this is true or no. More explanation about it will be gratefully accepted!

Undocumented opencv function?

may I know what is the difference between an "UNDOCUMENTED" opencv function with a documented one? I have searched online but apparently I do not get the explanation that is clear enough to make me clear my doubt. Thanks
The function is calcBluriness, which is used to determine the blurriness of a given image. Thanks
This question is rather a non question, but here is an answer anyway in case of future viewers.
All of OpenCV is documented, and documentation is part of the development process, you can access the docs here
As for calcBluriness, it is also documented, you can find that here

Is there any function to convert url

I wrote a function in the parser to grab JSON format file back and I want to convert the content to wiki URL, for example:
JSON content
[{"title":"a"},{"title":"b"}]
convert it to like what you type [[a]] [[b]] in the wiki
I don't know enough about JSON to know if this helps, but I hope it does.
Emiliano Bruni has a (free) online HTML-to-Wikitext converter at:
http://www.ebruni.it/en/software/os/i_love_wiki/index.mpl
I have used it several times and it seems to work quite well.
~ Mark
EDIT: I got curious and poked around the interwebs some more and found two potentially helpful sources:
1) A Wikipedia help article, Wikipedia:Tools/Editing tools, with a list of Wikisyntax conversion utilities, including HTML-to-MediaWiki conversion.
2) The (relatively) new Visual Editor available on Wikipedia (and other wikis using MediaWiki that choose to install it) has worked quite well for me since I started using it a few months ago, including for converting URLs to Wikitext. I recognize that Visual Editor has proven controversial among some Wikipedians, but I personally have found it easier to use than source editing or wikiEd (an in-browser text editor for sites using MediaWiki).

HTML Comments Extracter

I am well aware that parsing HTML with regex has its many caveats and vociferous opponents. So rather than trying to re-invent the wheel, I'm looking for a tool that I can point to a web page and say "Get me the comments, b*tch".
Anyone able to advise?
I was reading some OWASP documentation or a security blog, and I'm almost certain I saw a tool performing this task. Google has been zero help unfortunately.
Cheers
If you want a Java solution try HTMLParser and look for RemarkNodes.
Mhhhhh...I think a search in Google with the OS you use and some clever keyword gives you all you want. For UNIX based system looks at: parse HTML with SED and PERL
For Windows OS I think you can search something with VBS (VBScript).

What is the most mature JSON library for Erlang?

I wanted to use YAML but there is not a single mature YAML library for Erlang. I know there are a few JSON libraries, but was wondering which is the most mature?
Have a look at the one from mochiweb: mochijson.erl
1> mochijson:decode("{\"Name\":\"Tom\",\"Age\":10}").
{struct,[{"Name","Tom"},{"Age",10}]}
I prefer Jiffy. It works with binary and is realy fast.
1> jiffy:decode(<<"{\"Name\":\"Tom\",\"Age\":10}">>).
{[{<<"Name">>,<<"Tom">>},{<<"Age">>,10}]}
Can encode as well:
2> jiffy:encode({[{<<"Name">>,<<"Tom">>},{<<"Age">>,10}]}).
<<"{\"Name\":\"Tom\",\"Age\":10}">>
Also check out jsx. "An erlang application for consuming, producing and manipulating json. Inspired by Yajl." I haven't tried it myself yet, but it looks promising.
As a side note; I found this library through Jesse, a json schema validator by Klarna.
I use the json library provided by yaws.
Edit: I actually switched over to Jiffy, see Konstantin's answer.
Trapexit offers a really cool search feature for Erlang projects.
Lookup for JSON there, you'll find almost 13 results. Check the dates of the latest revisions, the user rating, the project activity status.
UPDATE: I've just found a similar question n StackOverflow. Apparently, they are quite happy with the erlang-json-eep-parser parser.
My favourite is mochijson2. The API is straightforward, it's fast enough for me (I never actually bothered to benchmark it though, to be honest--I'm mostly en- and de-coding small packets), and I've been using it in a stable "production server" for a year now or so. Just remember to install mochinum as well, mochijson2 uses it to encode large numbers, if you miss it, and you'll try to encode a large number, it will throw an exception.
See also: mochijson2 examples (stackoverflow)