Skip to content

Instantly share code, notes, and snippets.

@selva86
Created September 27, 2020 11:37
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 selva86/4480910f17ccaa95f311fb57aca72a73 to your computer and use it in GitHub Desktop.
Save selva86/4480910f17ccaa95f311fb57aca72a73 to your computer and use it in GitHub Desktop.
TRAIN_DATA =[ ("Pizza is a common fast food.", {"entities": [(0, 5, "FOOD")]}),
("Pasta is an italian recipe", {"entities": [(0, 5, "FOOD")]}),
("China's noodles are very famous", {"entities": [(8,14, "FOOD")]}),
("Shrimps are famous in China too", {"entities": [(0,7, "FOOD")]}),
("Lasagna is another classic of Italy", {"entities": [(0,7, "FOOD")]}),
("Sushi is extemely famous and expensive Japanese dish", {"entities": [(0,5, "FOOD")]}),
("Unagi is a famous seafood of Japan", {"entities": [(0,5, "FOOD")]}),
("Tempura , Soba are other famous dishes of Japan", {"entities": [(0,7, "FOOD")]}),
("Udon is a healthy type of noodles", {"entities": [(0,4, "ORG")]}),
("Chocolate soufflé is extremely famous french cuisine", {"entities": [(0,17, "FOOD")]}),
("Flamiche is french pastry", {"entities": [(0,8, "FOOD")]}),
("Burgers are the most commonly consumed fastfood", {"entities": [(0,7, "FOOD")]}),
("Burgers are the most commonly consumed fastfood", {"entities": [(0,7, "FOOD")]}),
("Frenchfries are considered too oily", {"entities": [(0,11, "FOOD")]})
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment