1
0

set os environment for big machine

This commit is contained in:
Nathan TeBlunthuis 2024-12-01 15:25:18 -08:00
parent abe217d2d5
commit 613059737a

View File

@ -14,6 +14,7 @@ from nltk.util import ngrams
import string
from random import random
from pathlib import Path
os.environ(["_JAVA_OPTIONS"]="-Xmx920g"
# remove urls
# taken from https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url