HypheNN-De: German Hyphenation with Neural Networks
blog.m-siemens.de
HypheNN-De: German Hyphenation with Neural Networks
1–10 of 11 posts
Re: HypheNN-De: German Hyphenation with Neural Networks
#2Re: HypheNN-De: German Hyphenation with Neural Networks
#3This blog inspired me to hunt for some obscure machine learning papers from 80s and 90s that I may replicate and improve. Any idea where to start?
I assume you know some modern techniques. If not then I would start with a modern textbook (like, the assigned textbook from a machine learning class) and then see if you can use the same exercises to see if you can improve classic paper results. It would make an interesting blog post.
Re: HypheNN-De: German Hyphenation with Neural Networks
#4https://code.google.com/p/chromium/issues/detail?id=20667
There are a lots of spelling and hyphenation libraries e.g. for Finnish language, but it is not possible to get them to working in Chrome cause there is no extension capability for it. It's really shame, since these odd languages probably never get support by Chrome team itself.
Re: HypheNN-De: German Hyphenation with Neural Networks
#5[1]: https://tex.stackexchange.com/questions/262588/how-are-hyphe...
Re: HypheNN-De: German Hyphenation with Neural Networks
#6TeX implements a very good spelling engine that that is driven by patterns [1]. I would expect it very difficult to improve on this and as far as I can see, the article doesn't include a comparison. [1]: https://tex.stackexchange.com/questions/262588/how-are-hyphe...
Re: HypheNN-De: German Hyphenation with Neural Networks
#7TeX implements a very good spelling engine that that is driven by patterns [1]. I would expect it very difficult to improve on this and as far as I can see, the article doesn't include a comparison. [1]: https://tex.stackexchange.com/questions/262588/how-are-hyphe...
He talks about exactly about pattern matching and mentions latex using it in the second section. Also that this approach doesn't work as well with German compound words which is the whole premise.
Re: HypheNN-De: German Hyphenation with Neural Networks
#8Another thought I had: for performance reasons, it might be nice to have something more compact than a one-hot vector for each letter. Have you looked at determining sets of characters which have a similar impact on hyphenation, and encoding them together?
PS: do you have the extracted list of wiktionary hyphenations sitting in a text file somewhere that you could put up? I'm fixin' to quickly compare the accuracy to TeX's German hyphenation (once the 30+GiB TeXLive repository finishes downloading).
PPS: You could improve the display of code blocks in your site on desktop by adding
display: block;
max-width: 710px;
width: 80%;
margin-left: auto;
margin-right: auto;
to your `.post-content pre code` rule. Or maybe slightly indent it by reducing the max width a small amount below that of the body text.Re: HypheNN-De: German Hyphenation with Neural Networks
#9Earlier quoted context omitted.
He talks about exactly about pattern matching and mentions latex using it in the second section. Also that this approach doesn't work as well with German compound words which is the whole premise.
Giving one example is not an evaluation that would convince me that NN are better. The German LaTeX community is one of the largest and I haven't heard much about it being unhappy with TeX's hyphenation.
Re: HypheNN-De: German Hyphenation with Neural Networks
#10Earlier quoted context omitted.
He talks about exactly about pattern matching and mentions latex using it in the second section. Also that this approach doesn't work as well with German compound words which is the whole premise.
Giving one example is not an evaluation that would convince me that NN are better. The German LaTeX community is one of the largest and I haven't heard much about it being unhappy with TeX's hyphenation.
To be fair, in day-to-day use problems like these will be corner cases as to my knowledge LaTeX tries to avoid hyphenation and even if it has to split a word, it has a good chance of getting it right. Also, to me this project's focus was more on learning about neural networks than creating a better hyphenator.