SILPA - Indian Language computing platform which provides a web interface for different Indian language computing python modules. This is hosted at
This is a new SILPA platform a.k.a restructuring is in progress. I'm trying to use Flask microframe work and Jinja2 templating system. Additionally modules are moved out of the original SILPA code thus providing a way for developer to develop a python module without bothering about internals of SILPA itself.
<<<<<<< HEAD
Pango
and cairo
can not be installed with pip and need to be installed
from your platform’s packages. lxml
and CFFI
can, but you’d still need
their own dependencies. This section lists system packages for lxml or
CFFI when available, the dependencies otherwise. lxml needs libxml2
and libxslt
, CFFI needs libffi
. On Debian, the package names with
development files are libxml2-dev
, libxslt1-dev
and libffi-dev
.
###Debian 7.0 Wheezy or newer, Ubuntu 11.10 Oneiric or newer:
sudo apt-get install python-dev python-pip python-lxml libcairo2 \
libpango1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info
```
####Debian 6.0 Squeeze, Ubuntu 10.04 Lucid:
GDK-PixBuf is part of GTK+, which also depends on cairo and Pango.
=======
Pango and cairo can not be installed with pip and need to be installed from your platform’s packages. lxml and CFFI can, but you’d still need their own dependencies. This section lists system packages for lxml or CFFI when available, the dependencies otherwise. lxml needs libxml2 and libxslt, CFFI needs libffi. On Debian, the package names with development files are libxml2-dev, libxslt1-dev and libffi-dev.
###Debian 7.0 Wheezy or newer, Ubuntu 11.10 Oneiric or newer:
```shell
sudo apt-get install python-dev python-pip python-lxml libcairo2 libpango1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info
####Debian 6.0 Squeeze, Ubuntu 10.04 Lucid: GDK-PixBuf is part of GTK+, which also depends on cairo and Pango.
b323f0d4f600786719e78c9c2fa8af6f48fea0e7
sudo apt-get install python-dev python-pip python-lxml libgtk2.0-0 libffi-dev
###Fedora
<<<<<<< HEAD
sudo yum install python-devel python-pip python-lxml cairo pango gdk-pixbuf2\
libffi-devel
=======
sudo yum install python-devel python-pip python-lxml cairo pango gdk-pixbuf2 libffi-devel
>>>>>>> b323f0d4f600786719e78c9c2fa8af6f48fea0e7
###Archlinux
sudo pacman -S python-pip python-lxml cairo pango gdk-pixbuf2
###Mac OS X
####With Macports
sudo port install py27-pip py27-lxml cairo pango gdk-pixbuf2 libffi
####With Homebrew:
brew install python cairo pango gdk-pixbuf libxml2 libxslt libffi
If you are on Mac OS X or Linux, chances are that one of the following two commands will work for you:
$ sudo easy_install virtualenv
or even better:
$ sudo pip install virtualenv
<<<<<<< HEAD One of these will probably install virtualenv on your system. Maybe it can be even in your package manager. If you use Ubuntu, try:
======= One of these will probably install virtualenv on your system. Maybe it can be even in your package manager. If you use Ubuntu, try:
b323f0d4f600786719e78c9c2fa8af6f48fea0e7
$ sudo apt-get install python-virtualenv
Once you have virtualenv installed, just fire up a shell and create your own environment.
$ git clone git@github.com:Project-SILPA/Silpa-Flask.git
$ cd Silpa-Flask
$ virtualenv --system-site-packages silpa
New python executable in silpa/bin/python
Installing distribute............done.
Now, whenever you want to work on a project, you only have to activate the corresponding environment. On OS X and Linux, do the following:
$ . silpa/bin/activate
If you are a Windows user, the following command is for you:
$ silpa\scripts\activate.bat
Either way, you should now be using your virtualenv (notice how the prompt of your shell has changed to show the active environment).
Now you can just enter the following command to get Flask installed in your virtualenv:
$ pip install Flask
The following modules are available for SILPA:
- Soundex
- ApproxSearch
- Transliteration
- Spellchecker
- Hyphenation
- Chardetails
- Payyans
- Text Similarity
- N Gram
- Silpa Sort
- Indic Stemmer
- Katpayadi Numbers
- shingling
- Indic-fortune now renamed silpa-fortune
- scriptrender
Modules to be used with SILPA can be configured in the silpa.conf file. Modules marked 'yes' should be installed before running SILPA
Here is a module installation example for Soundex. Repeat this for other modules.
mkdir modules
cd modules
git clone git@github.com:Project-SILPA/Soundex.git
cd Soundex
python setup.py install
Now you can start SILPA by running
$ python silpa.py
You can access SILPA at http://localhost:5000
If SILPA was running during a module installation, you will need to
restart the server by killing and running python silpa.py
again.
Your help is most welcome. You can do following to help me
Help me separate out modules from original SILPA- Use it and report bugs
- Help me update docs
Get a new design for SILPA
Serve Documentation and other pages through Flask and implement Jinja2Get remaining modules of SILPA get their templates- Provide RESTful API for all modules
Hyphenate module breaks it needs guesslanguage module