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.
cairo can not be installed with pip and need to be installed
from your platform’s packages.
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
libxslt, CFFI needs
libffi. On Debian, the package names with
development files are
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. ```shell sudo apt-get install python-dev python-pip python-lxml libgtk2.0-0 libffi-dev
sudo yum install python-devel python-pip python-lxml cairo pango gdk-pixbuf2\ libffi-devel
sudo pacman -S python-pip python-lxml cairo pango gdk-pixbuf2
sudo port install py27-pip py27-lxml cairo pango gdk-pixbuf2 libffi
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
One of these will probably install virtualenv on your system. Maybe it can be even in your package manager. If you use Ubuntu, try:
$ sudo apt-get install python-virtualenv
Once you have virtualenv installed, just fire up a shell and create your own environment.
$ git clone email@example.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:
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:
- Text Similarity
- N Gram
- Silpa Sort
- Indic Stemmer
- Katpayadi Numbers
- Indic-fortune now renamed silpa-fortune
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 firstname.lastname@example.org: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 Jinja2 Get remaining modules of SILPA get their templates
- Provide RESTful API for all modules
Hyphenate module breaks it needs guesslanguage module