Guest User

Untitled

a guest
Nov 14th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. "police arrests 4 people"
  2. "7 people were arrested".
  3.  
  4. gen arrest= regexm(description, "(^[1-9][0-9]$)[ ]*(arrests|arrested)")
  5.  
  6. (d+)[^,.dn]+?(?=arrest|custody)|(?<=arrest|custody)[^,.dn]+?(d+)
  7.  
  8. (?:([1-9]?[0-9])[a-zA-Z ]{0,20}(?:arrests|arrested))|(?:(?:arrests|arrested)[a-zA-Z ]{0,20}([1-9]?[0-9]))
Add Comment
Please, Sign In to add comment