mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Some code cleanup
This commit is contained in:
		@@ -61,7 +61,7 @@ def build_corpus(corpus_id):
 | 
			
		||||
@bp.route('/stopwords')
 | 
			
		||||
@content_negotiation(produces='application/json')
 | 
			
		||||
def get_stopwords():
 | 
			
		||||
    nltk.download('stopwords')
 | 
			
		||||
    nltk.download('stopwords', quiet=True)
 | 
			
		||||
    languages = ["german", "english", "catalan", "greek", "spanish", "french", "italian", "russian", "chinese"]
 | 
			
		||||
    stopwords = {}
 | 
			
		||||
    for language in languages:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user