Use the BERT model for NER tasks. Your program should input the text and print only the entities and their tags. Words and tags should be delimited by commas without spaces. Print each word and tag on a new line. Here is an example of output:
Geoffrey,B-PER
Chaucer,I-PER
English,B-MISC
The,B-MISC
Canterbury,I-MISC
Tales,I-MISC