From f1182c8bc123e9b6690f3fbdc0021468e60ba05d Mon Sep 17 00:00:00 2001
From: Santhosh Thottingal Enter the word to lookup in the dictionary
English Malayalam Dictionary
Search Results
"
if(search_key==None):
diff --git a/silpa/modules/fortune/fortune.py b/silpa/modules/fortune/fortune.py
index cf31aad..bc83b51 100644
--- a/silpa/modules/fortune/fortune.py
+++ b/silpa/modules/fortune/fortune.py
@@ -1,7 +1,7 @@
# Fortune
# -*- coding: utf-8 -*-
#
-# Copyright © 2008 Santhosh Thottingal
+# Copyright © 2009 Santhosh Thottingal Random Quote
"
response = response+""+result+""
diff --git a/silpa/modules/hyphenator/hyphenator.py b/silpa/modules/hyphenator/hyphenator.py
index f5e8fe2..889aee3 100644
--- a/silpa/modules/hyphenator/hyphenator.py
+++ b/silpa/modules/hyphenator/hyphenator.py
@@ -234,9 +234,8 @@ class Hyphenator(SilpaModule):
You can give the text in any language and even with mixed language
The search performed by search engines on Indic text is not effective. + It does not take care of the inflective or agglutinative nature of the language. + This application tries to solve that by using an inexact search algorithm based on maximum common bigram algorithm. + +
+Enter the text for searching in the below text area. +
+ + """ + if(form.has_key('input_text')): + text = action=form['input_text'].value .decode('utf-8') + if(form.has_key('search_key')): + key = action=form['search_key'].value .decode('utf-8') + response=response % (text,key) + words=text.split(" ") + response = response+"Words in green are with exact match. Words in Yellow are with approximate Match." + response = response+" Move your mouse pointer over the words to get more information on matching.
" + else: + response = response+ "Enter a string to search." + return response % (text,"") + for word in words: + word=word.strip() + if(word>""): + response = response+ self.bigram_search(word, key) + response = response+ "Enter the text for detecting the language in the below text area.
""" diff --git a/silpa/modules/transliterator/transliterate.py b/silpa/modules/transliterator/transliterate.py index 206a6bf..1b534cf 100644 --- a/silpa/modules/transliterator/transliterate.py +++ b/silpa/modules/transliterator/transliterate.py @@ -1,6 +1,6 @@ #! /usr/bin/env python # -*- coding: utf-8 -*- -# Paralperu +# Any Indian Language to any other Indian language transliterator # Copyright 2008 Santhosh Thottingal