set os environment for big machine
This commit is contained in:
parent
abe217d2d5
commit
613059737a
@ -14,6 +14,7 @@ from nltk.util import ngrams
|
|||||||
import string
|
import string
|
||||||
from random import random
|
from random import random
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
os.environ(["_JAVA_OPTIONS"]="-Xmx920g"
|
||||||
|
|
||||||
# remove urls
|
# remove urls
|
||||||
# taken from https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url
|
# taken from https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url
|
||||||
|
Loading…
Reference in New Issue
Block a user