MCPcopy Index your code
hub / github.com/MaartenGr/KeyBERT / get_test_data

Function get_test_data

tests/utils.py:1–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1def get_test_data():
2 doc_one = (
3 "\n\nI am sure some bashers of Pens fans are pretty confused about the lack\nof "
4 "any kind of posts about the recent Pens massacre of the Devils. Actually,\nI am "
5 "bit puzzled too and a bit relieved. However, I am going to put an end\nto non-PIttsburghers' "
6 "relief with a bit of praise for the Pens. Man, they\nare killing those Devils worse than I thought. "
7 "Jagr just showed you why\nhe is much better than his regular season stats. "
8 "He is also a lot\nfo fun to watch in the playoffs. Bowman should let JAgr have "
9 "a lot of\nfun in the next couple of games since the Pens are going to beat the "
10 "pulp out of Jersey anyway. I was very disappointed not to see the Islanders lose "
11 "the final\nregular season game. PENS RULE!!!\n\n"
12 )
13
14 doc_two = (
15 "\n[stuff deleted]\n\nOk, here's the solution to your problem. "
16 "Move to Canada. Yesterday I was able\nto watch FOUR games...the NJ-PITT "
17 "at 1:00 on ABC, LA-CAL at 3:00 (CBC), \nBUFF-BOS at 7:00 (TSN and FOX), "
18 "and MON-QUE at 7:30 (CBC). I think that if\neach series goes its max I "
19 "could be watching hockey playoffs for 40-some odd\nconsecutive nights "
20 "(I haven't counted so that's a pure guess).\n\nI have two tv's in my house, "
21 "and I set them up side-by-side to watch MON-QUE\nand keep an eye on "
22 "BOS-BUFF at the same time. I did the same for the two\nafternoon games."
23 "\n\nBtw, those ABC commentaters were great! I was quite impressed; they "
24 "seemed\nto know that their audience wasn't likely to be well-schooled in "
25 "hockey lore\nand they did an excellent job. They were quite impartial also, IMO.\n\n"
26 )
27
28 return doc_one, doc_two

Callers 2

test_model.pyFile · 0.85
test_backend.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected