apertium / apertium-python

now you can even use apertium from python
GNU General Public License v3.0
31 stars 27 forks source link

I am trying to check with Python but getting an error.. #26

Closed sridharbodla closed 5 years ago

sridharbodla commented 6 years ago

image

=> please suggest me how to use this module.

image

Do i have to install any modules

orgh0 commented 6 years ago

@sridharbodla are you in the repository home when you're trying to import apertium?

orgh0 commented 6 years ago

Also, you need to install the requirements.txt which has all the dependencies. Along with which you need to install the language specific data as well.

orgh0 commented 6 years ago
wget http://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo bash
sudo apt-get -f --allow-unauthenticated install apertium-all-dev
sudo apt-get -f --allow-unauthenticated install apertium-es-en apertium-eng

Run this first and get all the apertium language-specific data and install apertium then pip install the requirements.txt

sridharbodla commented 6 years ago

Thanks for your reply..

the above commands seems to for Linux. Can you please share the info for windows installation?

ftyers commented 6 years ago

This should work with Windows too.

sridharbodla commented 6 years ago

How to install this in windows?

sushain97 commented 6 years ago

This is not ready for Windows usage.

See https://github.com/apertium/apertium-python/issues/6 for the issue which once closed, would indicate Windows support.