aboutsummaryrefslogtreecommitdiff
path: root/ratspub.py
diff options
context:
space:
mode:
Diffstat (limited to 'ratspub.py')
-rwxr-xr-xratspub.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/ratspub.py b/ratspub.py
index cc52591..345146e 100755
--- a/ratspub.py
+++ b/ratspub.py
@@ -2,10 +2,6 @@
from nltk.tokenize import sent_tokenize
import os
import re
-import codecs
-import sys
-
-#gene=sys.argv[1]
## turn dictionary (synonyms) to regular expression
def undic(dic):
@@ -94,8 +90,6 @@ def generate_edges(data):
json0+="{ data: { id: \'" + edgeID + "\', source: \'" + source + "\', target: '" + target + "\', sentCnt: '" + str(edgeCnts[edgeID]) + "', url:'/sentences?edgeID=" + edgeID + "' } },\n"
return(json0)
-
-
addiction_d = {"reward":"reward|hedonic|incentive|intracranial self stimulation|ICSS|reinforcement|conditioned place preference|CPP|self administration|self administered|drug reinforced|operant|instrumental response",
"aversion":"aversion|aversive|CTA|withdrawal|conditioned taste aversion",
"relapse":"relapse|reinstatement|craving|drug seeking|seeking",