You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like Google changed the back-end for returning n-gram data, and now the results are generated in a different format. I had to replace a line in getngrams.py to fix it.
Original (line 29):
res = re.findall('var data = (.*?);\\n', req.text)
New (line 29):
res = re.findall('ngrams.data = (.*?);\\n', req.text)
The text was updated successfully, but these errors were encountered:
It looks like Google changed the back-end for returning n-gram data, and now the results are generated in a different format. I had to replace a line in
getngrams.py
to fix it.Original (line 29):
res = re.findall('var data = (.*?);\\n', req.text)
New (line 29):
res = re.findall('ngrams.data = (.*?);\\n', req.text)
The text was updated successfully, but these errors were encountered: