Commit 71c68898 authored by Raul Sirel's avatar Raul Sirel
Browse files

add env and remove polyglot import

parent 49d5bd8e
Pipeline #2079 passed with stage
in 8 minutes and 48 seconds
......@@ -6,8 +6,7 @@ stages:
Test:
before_script:
- conda create -n texta-mlp python=3.7 && source activate texta-mlp
- pip install -r requirements.txt
- conda env create -f environment.yaml && source activate texta-mlp
stage: test
tags:
- ci-test
......
......@@ -9,12 +9,10 @@ dependencies:
- python=3.7
- pip
- pytorch
- pyicu
- lxml
- pip:
- beautifulsoup4
- nesteddictionary
- langdetect
- pytest
- stanfordnlp
- morfessor
- pycld2
- polyglot
......@@ -85,7 +85,6 @@ class Document:
def words(self):
# for word in self.polyglot.words: self.__words.append(word)
for word in self.stanford: self.__words.append(word.text)
......
import polyglot
import os
# language codes to be used
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment