From 30a0ea90cf2520b5c3dc8d68095d9d3380d88013 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 25 Oct 2006 13:19:51 +0000 Subject: [PATCH] demauro plugin: add some introductory comment --- data/rbot/plugins/demauro.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/data/rbot/plugins/demauro.rb b/data/rbot/plugins/demauro.rb index 85f1f417..709fdc48 100644 --- a/data/rbot/plugins/demauro.rb +++ b/data/rbot/plugins/demauro.rb @@ -1,3 +1,15 @@ +# vim: set sw=2 et: +# demauro plugin: provides a link to the definition of a word +# from the Italian dictionary De Mauro/Paravia available online +# can also be used by other plugins to check if a given word exists +# or not (is_italian? method) +# +# This should be extended as a general dictionary lookup plugin, for multiple languages +# +# Author: Giuseppe "Oblomov" Bilotta +# +# TODO: cache results and reuse them if get_cached returns a cache copy + require 'uri' DEMAURO_LEMMA = /(.*?)(?: - (.*?))<\/anchor>/ -- 2.39.5