Fix unicode strings in examples [ci skip]
@@ -91,8 +91,8 @@ def demo(shape):
nlp = spacy.load("en_vectors_web_lg")
nlp.add_pipe(KerasSimilarityShim.load(nlp.path / "similarity", nlp, shape[0]))
- doc1 = nlp(u"The king of France is bald.")
- doc2 = nlp(u"France has no king.")
+ doc1 = nlp("The king of France is bald.")
+ doc2 = nlp("France has no king.")
print("Sentence 1:", doc1)
print("Sentence 2:", doc2)
