Created
September 28, 2020 03:32
-
-
Save selva86/c72a51299701f7aaad69bf513a8cff7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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