Best way of using google translation by Python

I am trying to translate large number of text files from English to other several languages. And we use Python in our project, we try to use Google translation service to translate them first then...

Language translator using python threads

I have written a program for a language translator which I want to use to translate data from files to other languages using the Python Goslate library. While running the code on my terminal the...

NLTK and Stopwords Fail #lookuperror

I am trying to start a project of sentiment analysis and I will use the stop words method. I made some research and I found that nltk have stopwords but when I execute the command there is an...

printing unicode for bengali

I'm using goslate for google translate API I can translate Bengali to Engliash - >>> import goslate >>> gs = goslate.Goslate() >>> S = gs.translate("ভাল", 'en') >>> S good But, problem...

Is there a Spanish to English dictionary for use with python 3?

I am trying to create my own digital Spanish to English database by translating the entire Spanish corpus found in nltk 3.0 for python 3. I am using the Google tool-kit to do the translating and...

Python: Goslate translation request returns "503: Service Unavailable"

A few months ago, I used Python's goslate package to translate a bunch of French text to English. When I tried to do so this morning, though, the service returned an error: import goslate gs =...

HTTP Error 503 in Django on heroku app

I'm using Django and i'm trying to run this lib 'translate' or 'goslate' so I can translate text from google translate in runtime and free. for goslate: this is my function import goslate gs =...

Python AttributeError: 'module' object has no attribute 'Goslate'

I am trying Goslate: Free Google Translate API. I installed goslate using sudo pip install goslate I wrote a simple program and executed it using python getbn.py command in my terminal. Here is...

Apply a function to translate a column in pandas dataframe with condition on other columns

data is a pandas dataframe in which language and config['TEXT FIELD'] are columns. I want to translate certain reviews in the text column to english and I am using a function dfApply import...

How to extract article in chinese

from newspaper import Article import pdb from unidecode import unidecode def get_article_newspaper(url): article = Article(url,en='zh') # Chinese article.download(); article.parse()#...

HTTPError: HTTP Error 503: Service Unavailable goslate language detection request : Python

I have just started using the goslate library in Python to detect the language of the words in a text but after testing it for 7-8 inputs, I gave the input which had the words written in two...

SSL: CERTIFICATE_VERIFY_FAILED on pip3 install

I am working on a fork of a google hangout bot (https://github.com/hangoutsbot/hangoutsbot), and everything was working great, and one day it just broke now whenever I do pip3 install -r...

goslate package installation issue with Anaconda on windows

I am trying to install goslate package on anaconda pip install goslate I am getting following traceback error, which shows following lines: [Anaconda3] C:\Users\hyper>pip install goslate...

HTTP Error 503: Service Unavailable

When I try to use goslate in python 3, the first time it worked but then it gives this error. File "/usr/lib/python3.4/urllib/request.py", line 5, in http_error_default raise...

How to convert Kivy into .apk with PyDictionary?

As an exercise to learn Kivy, I have created a simple app using PyDictionary. It works fine in my Windows Python environment. But it gave me tons and tons of issues when converting it into a...

Sentiment analysis using TextBlob for Dutch language

I want to do sentiment analysis of a list of tweets fetched based on a particular keyword. The tweets coming in are mostly in dutch language and TextBlob needs them converted to English in order...

jupyter: 'notebook' is not a Jupyter command

I am not sure how to make the command jupyter notebook to work: ~   progress ✚  sudo pip install --user ipython ...

Machine learning for natural language processing - Custom translation

Lets say I have the following very simplified training and testing observations. Training input: her favourite dog was a huskey and her favourite cat was a leopard output: dog=huskey,...

What can be done to make a perfect paraphrase?

With reference from the answer: https://stackoverflow.com/a/3592020/4948889, I have tried to modify the example as below. The Google API in the answer in above link is not working for me.So I...

goslate translate from spanish to english http error

I am trying to translate 2 big documents from Spanish to English with this code: import goslate big_files = ['lenin.txt', 'liga.txt'] gs = goslate.Goslate() translation = [] for big_file in...

ImportError: No module named '...' after installing with pip3

I'm trying to use the module docx in Python 3.5. I've installed it like so: anubis:~ TheoAdmin$ pip3 install python-docx Collecting python-docx Downloading python-docx-0.8.6.tar.gz (5.3MB) ...

sentiment analysis on telugu comments written in english

I'm trying with translate package but getting proxy errors. Tried with goslate. Translated simple words into telugu but after 2-3 successful tries, ended up with an error saying HTTPError: HTTP...

Python goslate possible firewall probelm

I'm trying to use goslate to translate some excel files. When I try to run the following code I get this error: ConnectionRefusedError: [WinError 10061] No connection could be made because the...

Google Translate with a CSV file

I am working on Python with a CSV file where I would like to convert some columns to English language, I have been using Google Translate but it refers as they require a JSON file, is it possible...

raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 429: Too Many Requests

I need to scan an image using pytesseract and then translate the text into English. Everything works fine, but then all of a sudden I start getting this 429 error out of nowhere. I'm confused...

is this the way of using goslate

iam trying to make a translator using goslate but it shows many errors what to do? the following is my code import goslate text = "Hello world" gs = goslate.Goslate() translated =...

TensorFlow -- Duplicate plugins for name projector -- Anaconda Prompt

I am trying to run a generic analysis of mnist, as shown below. from __future__ import absolute_import from __future__ import division from __future__ import print_function import math import...

ModuleNotFoundError: No module named 'flake8'

here is the part of the files that are important for this question: . ├── .env ├── tox.ini ├── requirements-dev.txt └── tests/ ├── test_blocking.py └──...

GoogleTrans Python not translating

I am using GoogleTrans for my project. Actually I have a text in Marathi which I got from "speech to text" but when I am converting that text into English it is not translating properLY. But when...

An unclear requirements.txt error which results in not being able to install

From today, I started getting error while installing modules from requirements.txt, I tried to find the error module and remove it but I couldn't...