This is an old revision of the document!
General
- Divisi2 is embedded in a larger project on knowledge representation (semantic networks and the like) in the MIT, so it is intended to be used in applications in AI and not in linguistics.
- It is SVD (singular value decomposition) library for Python.
- It requires numpy (numerical python, a standard library for scientifically computing with py) and pysparse (a further extension for matrix processing). From my own experience, installing numpy is not trivial.
- As far as I can see right now, it is necessary to develop or use another to collect the context vectors, etc..
- Easy installation (around 5 minutes if you have numpy).
- Note: In a first run, Divisi2 didn't work.
Installation
- The installation process is by itself quite simple -you will need just two commands. However a number of libraries are necessary to run Divisi2 and their installation is not quite simple, at least that is what I remember from installing numpy. In my case, I had to install (and maybe build) several libraries, in particular, ATLAS.
- To install:
- First install pip
sudo easy_install pip
- This command will also install pysparse (in case you don't have it):
sudo pip install pysparse
- Now install Divisi2
sudo pip install divisi2 csc-pysparse
— Eduardo Aponte 2010/11/02 12:30