Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TRAIN_DATA = [("Pizza is a common fast food.", {"entities": [(0, 5, "FOOD")]}),
("We ate dosa yesterday.", {"entities": [(7, 11, "FOOD")]}),
("Pasta is an italian recipe", {"entities": [(0, 5, "FOOD")]}),
("China's noodles are very famous", {"entities": [(8,15, "FOOD")]}),
("Shrimps are famous in China too", {"entities": [(0,7, "FOOD")]}),
("Lasagna is another classic of Italy", {"entities": [(0,7, "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")]}),
("The flea market is open during weekend", {"entities": []}),
("The flea market is open during weekend", {"entities": []})]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment