SamanthaStorm commited on
Commit
af2a210
·
verified ·
1 Parent(s): 18869a0

Update motif_tagging.py

Browse files
Files changed (1) hide show
  1. motif_tagging.py +2 -4
motif_tagging.py CHANGED
@@ -22,7 +22,7 @@ MOTIF_PATTERNS = {
22
  r"\bi['’]?ll|i will) send you to (hell|the morgue)\b",
23
  r"\bi['’]?ll|i will) make sure you’re never seen again\b",
24
  r"\b(i'll|i will|ill) put you in (a|the) rose garden\b"
25
- ],
26
  "extreme_control": [
27
  r"\bi (won[’']?t|will not) let you (leave|go|talk to|see|text|spend time with) (him|her|them|anyone)\b",
28
  r"\byou (can[’']?t|are not allowed to|shouldn’t) (go out|leave|talk to|see|text|spend time with|have friends)\b",
@@ -37,9 +37,7 @@ MOTIF_PATTERNS = {
37
  r"\byou do what i say\b",
38
  r"\b(you better|you have to) do what i say\b",
39
  r"\b(you['’]?re not going|you’re not leaving|i won’t let you go)\b"
40
- ]
41
-
42
-
43
  "suicidal_threat": [
44
  r"\b(i['’]?ll|i will) (kill|hurt) myself (if you leave|if you don’t come back|unless you stay)\b",
45
  r"\bi (don’t|do not) want to live (without you|if you leave)\b",
 
22
  r"\bi['’]?ll|i will) send you to (hell|the morgue)\b",
23
  r"\bi['’]?ll|i will) make sure you’re never seen again\b",
24
  r"\b(i'll|i will|ill) put you in (a|the) rose garden\b"
25
+ ],
26
  "extreme_control": [
27
  r"\bi (won[’']?t|will not) let you (leave|go|talk to|see|text|spend time with) (him|her|them|anyone)\b",
28
  r"\byou (can[’']?t|are not allowed to|shouldn’t) (go out|leave|talk to|see|text|spend time with|have friends)\b",
 
37
  r"\byou do what i say\b",
38
  r"\b(you better|you have to) do what i say\b",
39
  r"\b(you['’]?re not going|you’re not leaving|i won’t let you go)\b"
40
+ ],
 
 
41
  "suicidal_threat": [
42
  r"\b(i['’]?ll|i will) (kill|hurt) myself (if you leave|if you don’t come back|unless you stay)\b",
43
  r"\bi (don’t|do not) want to live (without you|if you leave)\b",