Quote:
Originally Posted by InMyPocket
Hi Karl,
It seems that EN-FR and EN-NL dictionaries miss some words/expressions: e.g. words between "trough" and "trouser press" are missing in the dicthtml-en-nl file and words between "trout" and "trouvère" in the dicthtml-en-fr file. So, the word "trouser" is missing in both of them (but is on the wikdict.com website).
A bug in the convertion to dicthtml ?
|
I've had a closer look at the case of "trouser". The conversion is fine. The word is not included because the Wiktionary page for "trousers" does not contain any translations but only a "see pants" reference:
https://en.wiktionary.org/wiki/trousers
I'm not yet able to handle these references, so the translation is missing in the dictionary.
Why is it shown on Wiktionary.com, then? Since I control the whole search and sorting UI on that page, I can take a bit more liberties when to show translations to the user. One aspect of that is that when no results are found, I try to synthesize translations by looking at Wiktionaries in other languages. In this specific case I returned a translation by going through the Finnish Wiktionary:
trousers (en) -> housut (fi) -> pantalon (fr)
If you would like updates to this issue, please subscribe to it on [github](
https://github.com/karlb/wikdict-gen/issues/5).