solkad

Results 3 comments of solkad

I'm also having this issue. I think it's because setCleanedArticleText() in Article.php is never being properly initiated. https://github.com/scotteh/php-goose/blob/master/src/Article.php I believe this also means getPopularWords() will be blank. It uses $this->article()->getCleanedArticleText();....

> If you put `os.environ["ARGOS_DEVICE_TYPE"]="cuda"` before importing the package it works fine. Like this: > > ```python > import os > os.environ["ARGOS_DEVICE_TYPE"]="cuda" > > import argostranslate.package > import argostranslate.translate >...