blob: c4be9c4d090a694fb7b62cd184dca00fdc7791c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
#! /usr/bin/env python
# -*- coding: utf-8 -*-
def getBaseHTML():
content = """\
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
Copyright: Daemon Pty Limited 2006, http://www.daemon.com.au
Community: Mollio http://www.mollio.org $
License: Released Under the "Common Public License 1.0",
http://www.opensource.org/licenses/cpl.php
License: Released Under the "Creative Commons License",
http://creativecommons.org/licenses/by/2.5/
License: Released Under the "GNU Creative Commons License",
http://creativecommons.org/licenses/GPL/2.0/
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Silpa- The Indian Language Computing project</title>
<link rel="stylesheet" type="text/css" href="css/main.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="css/ie6_or_less.css" />
<![endif]-->
<script type="text/javascript" src="js/common.js"></script>
</head>
<body id="type-f">
<div id="wrap">
<div id="header">
<div id="site-name">Silpa</div>
<div id="search">
<form action="">
<label for="searchsite">Site Search:</label>
<input id="searchsite" name="searchsite" type="text" />
<input type="submit" value="Go" class="f-submit" />
</form>
</div>
<ul id="nav">
<li class="active"><a href="#">Home</a></li>
<li class="active"><a href="#">About</a>
</li>
<li class="active"><a href="#">Documentation</a>
<ul>
<li class="first"><a href="#">Language Detection</a></li>
<li><a href="#">Spellcheck</a></li>
<li><a href="#">Text to Speech</a></li>
</ul>
</li>
<li class="active"><a href="#">Links</a>
<li class="active"><a href="#">License</a>
</ul>
</div>
<div id="content-wrap">
<div id="utility">
<ul id="nav-secondary">
<li class="first"><a href="?action=Detect+Language">Language Detection</a></li>
<li><a href="?action=Spellcheck">Spellcheck</a></li>
<li class="active"><a href="#">Font Conversion</a>
<ul>
<li class="first"><a href="?action=To+Unicode">Ascii to Unicode</a></li>
<li><a href="?action=To+Ascii">Unicode to Ascii</a></li>
</ul>
</li>
<li><a href="#">Lemmatizer</a></li>
<li><a href="#">Normalizer</a></li>
<li class="last"><a href="?action=Sort"">Sort</a></li>
<li class="last"><a href="?action=Hyphenate">Hyphenate</a></li>
</ul>
</div>
<div id="content">
<div id="breadcrumb">
$$SILPA_BREADCRUMB$$
</div>
<hr />
<div class="featurebox">
<h3>Welcome to Silpa!</h3>
<p><strong>Silpa stands for Swathanthra Indian Language Processing Applications. Silpa is a single place in the web
where you can use the exising free(dom) software langauge processing applications easily. Silpa is in development and if you
are intersted in contributing just drop a mail to <a href="mailto:santhosh.thottingal@gmail.com">Santhosh</a> </p>
</div>
$$SILPA_CONTENT$$
<div id="sidebar">
<div class="featurebox">
<h3>Welcome to Silpa!</h3>
<p><strong>Silpa stands for Swathanthra Indian Language Processing Applications. Silpa is a single place in the web
where you can use the exising free(dom) software langauge processing applications easily. Silpa is in development and if you
are intersted in contributing just drop a mail to <a href="mailto:santhosh.thottingal@gmail.com">Santhosh</a> </p>
</div>
</div>
<div id="poweredby"><a href="http://smc.org.in">SMC</a></div>
</div>
</div>
</body>
</html>
"""
return content
if __name__ == '__main__':
print getBaseHTML()
|