13 lines
233 B
Python
13 lines
233 B
Python
# creating BGH data
|
|
import spacy
|
|
|
|
remove_brackets = False
|
|
server = False
|
|
|
|
no_brackets_suffix = "no_br_"
|
|
nlp = spacy.load("de_core_news_sm") # small one
|
|
# nlp = spacy.load("de_dep_news_trf") # big one, CUDA Problems on Server...
|
|
|
|
|
|
|