Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME wktn - gives the definition of the requested word in wiktionary SYNTAX wktn "word" "language name OR language code" DESCRIPTION This command is interesting because it's universal. It supports 92 languages. Actually I've not verified that Wiktionary has definitions for the 92 languages, but at least it will work if one day they introduce either the language or the definition. Another attribute is that it works either with the language name (in English) or with the language code. Default value for the language code is english. This is the first functional command to use langcode and invlangcode. This command is an example of how those commands could be used to improve either google commands (search in different languages, also useful for translate) or wikipedia commands. I will ask if some of the existing commands could be edited to integrate either langcode or invlangcode. EXAMPLES wktn ciao it (redirects to http://it.wiktionary.org/wiki/ciao) wktn ciao italian (redirects to http://it.wiktionary.org/wiki/ciao) wktn ciao (redirects to http://en.wiktionary.org/wiki/ciao) REMARK wktn ciao is currently redirecting to http://fy.wiktionary.org/wiki/ciao, but I already asked to edit langcode so that the default value is english. I don't know if it would be better to edit wktnstep1 instead, so that langcode default value is not always fixed to "en". wktnstep1 is http://${lcode}.wiktionary.org/?search=${text} I forgot to write http://${lcode=en}.wiktionary.org/?search=${text} The issue is that in principle langcode didn't have a default value. I don't understand why the default value is fy. Anyway, any comments are much appreciated. AUTHOR Luis Gabriel Matallana Vallejo <luisgmatallana@gmail.com>