Skip to content

Instantly share code, notes, and snippets.

@shayanjm
Created July 9, 2014 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shayanjm/054cdeb380bf2daf4b2b to your computer and use it in GitHub Desktop.
Save shayanjm/054cdeb380bf2daf4b2b to your computer and use it in GitHub Desktop.
Existing data format:
((("Israel" "LOCATION")) (("has" "O") ("launched" "O") ("what" "O") ("it" "O") ("described" "O") ("as" "O") ("an" "O") ("open-ended" "O") ("and" "O") ("escalating" "O") ("offensive" "O") ("against" "O") ("the" "O") ("Hamas-ruled" "O")) (("Gaza" "LOCATION") ("Strip" "LOCATION")) (("," "O") ("as" "O") ("air" "O") ("strikes" "O") ("and" "O") ("naval" "O") ("gunfire" "O") ("hit" "O")) (("50" "NUMBER")) (("sites" "O")) (("overnight" "TIME")) (("." "O")))
Intended data format:
(("Israel" "LOCATION") ("has launched what it described as an open-ended and escalating offensive against the Hamas-ruled" "O") ("Gaza Strip" "LOCATION") (", as air strikes and naval gunfire hit" "O") ("50" "NUMBER") ("sites" "O") ("overnight" "TIME") ("." "O"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment