“No, that’s not what I mean at all.” The same conversation, so many

Kalukhamohon
12 min readDec 9, 2020

--

NOTE: There are many pre-trained BERT-based models that you can use for keyword extraction. However, I would advise you to use either distilbert — base-nli-stsb-mean-tokens or xlm-r-distilroberta-base-paraphase-v1 as they have shown great performance in semantic similarity and paraphrase identification respectively.
It seems that we get keyphrases instead of keywords now! These keyphrases, by themselves, seem to nicely represent the document. However, I am not happy that all keyphrases are so similar to each other.
The final method for diversifying our results is Maximal Marginal Relevance (MMR). MMR tries to minimize redundancy and maximize the diversity of results in text summarization tasks. Fortunately, a keyword extraction algorithm called EmbedRank has implemented a version of MMR that allows us to use it for diversifying our keywords/keyphrases.

NOTE: You can play around with n_gram_range to create different lengths of keyphrases. Then, you might not want to remove stop_words as they can tie longer keyphrases together.

Life isn’t like the movies, of course. In the next few months we didn’t just fall from the tightrope, it snapped completely in half. I quietly stepped out of the limelight and he paraded his pain around town. I don’t mind. Let him have his elephants and his audience. I’m happy with a quieter, contented life.

https://www.agwest.com/vme/Paris-v-Istanbul-match-direct-fr1.html
https://www.agwest.com/vme/Paris-v-Istanbul-match-direct-fr2.html
https://www.agwest.com/vme/Paris-v-Istanbul-match-direct-fr3.html
https://www.agwest.com/vme/Paris-v-Istanbul-match-direct-fr4.html
https://www.agwest.com/vme/Paris-v-Istanbul-match-direct-fr5.html
https://www.agwest.com/vme/Paris-v-Istanbul-match-direct-fr6.html
https://www.agwest.com/vme/Paris-v-Istanbul-match-direct-fr7.html
https://www.agwest.com/vme/Paris-v-Istanbul-match-direct-fr8.html
https://www.agwest.com/vme/Paris-v-Istanbul-match-direct-fr9.html
https://www.agwest.com/vme/video-ajax-v-atalanta-liv-us1.html
https://www.agwest.com/vme/video-ajax-v-atalanta-liv-us2.html
https://www.agwest.com/vme/video-ajax-v-atalanta-liv-us3.html
https://www.agwest.com/vme/video-ajax-v-atalanta-liv-us4.html
https://www.agwest.com/vme/video-ajax-v-atalanta-liv-us5.html
https://www.agwest.com/vme/video-ajax-v-atalanta-liv-us6.html
https://www.agwest.com/vme/video-liverpool-v-midtjylland-liv-uf1.html
https://www.agwest.com/vme/video-liverpool-v-midtjylland-liv-uf2.html
https://www.agwest.com/vme/video-liverpool-v-midtjylland-liv-uf3.html
https://www.agwest.com/vme/video-liverpool-v-midtjylland-liv-uf4.html
https://www.agwest.com/vme/video-liverpool-v-midtjylland-liv-uf5.html
https://www.agwest.com/vme/video-liverpool-v-midtjylland-liv-uf6.html
https://www.agwest.com/vme/video-mancity-v-marseille-match-liv-us1.html
https://www.agwest.com/vme/video-mancity-v-marseille-match-liv-us2.html
https://www.agwest.com/vme/video-mancity-v-marseille-match-liv-us3.html
https://www.agwest.com/vme/video-mancity-v-marseille-match-liv-us4.html
https://www.agwest.com/vme/video-mancity-v-marseille-match-liv-us5.html
https://www.agwest.com/vme/video-mancity-v-marseille-match-liv-us6.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena1.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena2.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena3.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena4.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena5.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena6.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena7.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena8.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena9.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-match-direct-fr1.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-match-direct-fr2.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-match-direct-fr3.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-match-direct-fr4.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-match-direct-fr5.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-match-direct-fr6.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-match-direct-fr7.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-match-direct-fr8.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-match-direct-fr9.html
https://www.webpoisoncontrol.org/vme/video-ajax-v-atalanta-liv-us1.html
https://www.webpoisoncontrol.org/vme/video-ajax-v-atalanta-liv-us2.html
https://www.webpoisoncontrol.org/vme/video-ajax-v-atalanta-liv-us3.html
https://www.webpoisoncontrol.org/vme/video-ajax-v-atalanta-liv-us4.html
https://www.webpoisoncontrol.org/vme/video-ajax-v-atalanta-liv-us5.html
https://www.webpoisoncontrol.org/vme/video-ajax-v-atalanta-liv-us6.html
https://www.webpoisoncontrol.org/vme/video-liverpool-v-midtjylland-liv-uf1.html
https://www.webpoisoncontrol.org/vme/video-liverpool-v-midtjylland-liv-uf2.html
https://www.webpoisoncontrol.org/vme/video-liverpool-v-midtjylland-liv-uf3.html
https://www.webpoisoncontrol.org/vme/video-liverpool-v-midtjylland-liv-uf4.html
https://www.webpoisoncontrol.org/vme/video-liverpool-v-midtjylland-liv-uf5.html
https://www.webpoisoncontrol.org/vme/video-liverpool-v-midtjylland-liv-uf6.html
https://www.webpoisoncontrol.org/vme/video-mancity-v-marseille-match-liv-us1.html
https://www.webpoisoncontrol.org/vme/video-mancity-v-marseille-match-liv-us2.html
https://www.webpoisoncontrol.org/vme/video-mancity-v-marseille-match-liv-us3.html
https://www.webpoisoncontrol.org/vme/video-mancity-v-marseille-match-liv-us4.html
https://www.webpoisoncontrol.org/vme/video-mancity-v-marseille-match-liv-us5.html
https://www.webpoisoncontrol.org/vme/video-mancity-v-marseille-match-liv-us6.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-viv-ena1.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-viv-ena2.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-viv-ena3.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-viv-ena4.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-viv-ena5.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-viv-ena6.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-viv-ena7.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-viv-ena8.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-viv-ena9.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena1.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena2.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena3.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena4.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena5.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena6.html
https://www.agwest.com/vme/video-real-v-monchen-viv-ena7.html
https://www.agwest.com/vme/Ajax-v-Atalanta-UCL-Sony-Liv1.html
https://www.agwest.com/vme/Ajax-v-Atalanta-UCL-Sony-Liv2.html
https://www.agwest.com/vme/Ajax-v-Atalanta-UCL-Sony-Liv3.html
https://www.agwest.com/vme/Bayern-v-Lokomotiv-UCL-Sony-Liv1.html
https://www.agwest.com/vme/Bayern-v-Lokomotiv-UCL-Sony-Liv2.html
https://www.agwest.com/vme/Bayern-v-Lokomotiv-UCL-Sony-Liv3.html
https://www.agwest.com/vme/Inter-v-Shakhtar-UCL-Sony-Liv1.html
https://www.agwest.com/vme/Inter-v-Shakhtar-UCL-Sony-Liv2.html
https://www.agwest.com/vme/Inter-v-Shakhtar-UCL-Sony-Liv3.html
https://www.agwest.com/vme/Man-City-v-Marseille-UCL-Sony-Liv1.html
https://www.agwest.com/vme/Man-City-v-Marseille-UCL-Sony-Liv2.html
https://www.agwest.com/vme/Man-City-v-Marseille-UCL-Sony-Liv3.html
https://www.agwest.com/vme/Man-City-v-Marseille-UCL-Sony-Liv4.html
https://www.agwest.com/vme/Midtjylland-v-Lpool-UEFA-Sony-Liv1.html
https://www.agwest.com/vme/Midtjylland-v-Lpool-UEFA-Sony-Liv2.html
https://www.agwest.com/vme/Midtjylland-v-Lpool-UEFA-Sony-Liv3.html
https://www.agwest.com/vme/PSG-v-Basaksehir-UCL-Sony-Liv1.html
https://www.agwest.com/vme/PSG-v-Basaksehir-UCL-Sony-Liv2.html
https://www.agwest.com/vme/PSG-v-Basaksehir-UCL-Sony-Liv3.html
https://www.agwest.com/vme/Real-v-Monchengladbach-UCL-Sony-Liv1.html
https://www.agwest.com/vme/Real-v-Monchengladbach-UCL-Sony-Liv2.html
https://www.buildinitiative.org/cvf/Ajax-v-Atalanta-UCL-Sony-Liv1.html
https://www.buildinitiative.org/cvf/Ajax-v-Atalanta-UCL-Sony-Liv2.html
https://www.buildinitiative.org/cvf/Ajax-v-Atalanta-UCL-Sony-Liv3.html
https://www.buildinitiative.org/cvf/Bayern-v-Lokomotiv-UCL-Sony-Liv1.html
https://www.buildinitiative.org/cvf/Bayern-v-Lokomotiv-UCL-Sony-Liv2.html
https://www.buildinitiative.org/cvf/Bayern-v-Lokomotiv-UCL-Sony-Liv3.html
https://www.buildinitiative.org/cvf/Inter-v-Shakhtar-UCL-Sony-Liv1.html
https://www.buildinitiative.org/cvf/Inter-v-Shakhtar-UCL-Sony-Liv2.html
https://www.buildinitiative.org/cvf/Inter-v-Shakhtar-UCL-Sony-Liv3.html
https://www.buildinitiative.org/cvf/Man-City-v-Marseille-UCL-Sony-Liv1.html
https://www.buildinitiative.org/cvf/Man-City-v-Marseille-UCL-Sony-Liv2.html
https://www.buildinitiative.org/cvf/Man-City-v-Marseille-UCL-Sony-Liv3.html
https://www.buildinitiative.org/cvf/Man-City-v-Marseille-UCL-Sony-Liv4.html
https://www.buildinitiative.org/cvf/Midtjylland-v-Lpool-UEFA-Sony-Liv1.html
https://www.buildinitiative.org/cvf/Midtjylland-v-Lpool-UEFA-Sony-Liv2.html
https://www.buildinitiative.org/cvf/Midtjylland-v-Lpool-UEFA-Sony-Liv3.html
https://www.buildinitiative.org/cvf/PSG-v-Basaksehir-UCL-Sony-Liv1.html
https://www.buildinitiative.org/cvf/PSG-v-Basaksehir-UCL-Sony-Liv2.html
https://www.buildinitiative.org/cvf/PSG-v-Basaksehir-UCL-Sony-Liv3.html
https://www.buildinitiative.org/cvf/Real-v-Monchengladbach-UCL-Sony-Liv1.html
https://www.buildinitiative.org/cvf/Real-v-Monchengladbach-UCL-Sony-Liv2.html
https://www.webpoisoncontrol.org/vme/Ajax-v-Atalanta-UCL-Sony-Liv1.html
https://www.webpoisoncontrol.org/vme/Ajax-v-Atalanta-UCL-Sony-Liv2.html
https://www.webpoisoncontrol.org/vme/Ajax-v-Atalanta-UCL-Sony-Liv3.html
https://www.webpoisoncontrol.org/vme/Bayern-v-Lokomotiv-UCL-Sony-Liv1.html
https://www.webpoisoncontrol.org/vme/Bayern-v-Lokomotiv-UCL-Sony-Liv2.html
https://www.webpoisoncontrol.org/vme/Bayern-v-Lokomotiv-UCL-Sony-Liv3.html
https://www.webpoisoncontrol.org/vme/Inter-v-Shakhtar-UCL-Sony-Liv1.html
https://www.webpoisoncontrol.org/vme/Inter-v-Shakhtar-UCL-Sony-Liv2.html
https://www.webpoisoncontrol.org/vme/Inter-v-Shakhtar-UCL-Sony-Liv3.html
https://www.webpoisoncontrol.org/vme/Man-City-v-Marseille-UCL-Sony-Liv1.html
https://www.webpoisoncontrol.org/vme/Man-City-v-Marseille-UCL-Sony-Liv2.html
https://www.webpoisoncontrol.org/vme/Man-City-v-Marseille-UCL-Sony-Liv3.html
https://www.webpoisoncontrol.org/vme/Man-City-v-Marseille-UCL-Sony-Liv4.html
https://www.webpoisoncontrol.org/vme/Midtjylland-v-Lpool-UEFA-Sony-Liv1.html
https://www.webpoisoncontrol.org/vme/Midtjylland-v-Lpool-UEFA-Sony-Liv2.html
https://www.webpoisoncontrol.org/vme/Midtjylland-v-Lpool-UEFA-Sony-Liv3.html
https://www.webpoisoncontrol.org/vme/PSG-v-Basaksehir-UCL-Sony-Liv1.html
https://www.webpoisoncontrol.org/vme/PSG-v-Basaksehir-UCL-Sony-Liv2.html
https://www.webpoisoncontrol.org/vme/PSG-v-Basaksehir-UCL-Sony-Liv3.html
https://www.webpoisoncontrol.org/vme/Real-v-Monchengladbach-UCL-Sony-Liv1.html
https://www.webpoisoncontrol.org/vme/Real-v-Monchengladbach-UCL-Sony-Liv2.html
http://escargo.it/hmf/Inter-v-shakter-diretta-itly1.html
http://escargo.it/hmf/Inter-v-shakter-diretta-itly2.html
http://escargo.it/hmf/Inter-v-shakter-diretta-itly3.html
http://escargo.it/hmf/Inter-v-shakter-diretta-itly4.html
http://escargo.it/hmf/Inter-v-shakter-diretta-itly5.html
https://www.webpoisoncontrol.org/vme/Inter-v-shakter-diretta-itly1.html
https://www.webpoisoncontrol.org/vme/Inter-v-shakter-diretta-itly2.html
https://www.webpoisoncontrol.org/vme/Inter-v-shakter-diretta-itly3.html
https://www.webpoisoncontrol.org/vme/Inter-v-shakter-diretta-itly4.html
https://www.webpoisoncontrol.org/vme/Inter-v-shakter-diretta-itly5.html
https://www.webpoisoncontrol.org/vme/Liver-v-midtjyiiand-live-tp1.html
https://www.webpoisoncontrol.org/vme/Liver-v-midtjyiiand-live-tp2.html
https://www.webpoisoncontrol.org/vme/Liver-v-midtjyiiand-live-tp3.html
https://www.webpoisoncontrol.org/vme/regar-psg-v-istanbul-frtp1.html
https://www.webpoisoncontrol.org/vme/regar-psg-v-istanbul-frtp2.html
https://www.webpoisoncontrol.org/vme/regar-psg-v-istanbul-frtp3.html
https://www.webpoisoncontrol.org/vme/Video-Ajax-v-Atalanta-kijkn1.html
https://www.webpoisoncontrol.org/vme/Video-Ajax-v-Atalanta-kijkn2.html
https://www.webpoisoncontrol.org/vme/Video-Ajax-v-Atalanta-kijkn3.html
https://www.webpoisoncontrol.org/vme/Video-Bayern-v-Lok-Moskau-detp1.html
https://www.webpoisoncontrol.org/vme/Video-Bayern-v-Lok-Moskau-detp2.html
https://www.webpoisoncontrol.org/vme/Video-Bayern-v-Lok-Moskau-detp3.html
https://www.webpoisoncontrol.org/vme/Video-Bayern-v-Lok-Moskau-detp4.html
https://www.webpoisoncontrol.org/vme/Video-Bayern-v-Lok-Moskau-detp5.html
https://www.webpoisoncontrol.org/vme/video-marseille-v-manchester-liv-ne1.html
https://www.webpoisoncontrol.org/vme/video-marseille-v-manchester-liv-ne2.html
https://www.webpoisoncontrol.org/vme/video-marseille-v-manchester-liv-ne3.html
https://www.webpoisoncontrol.org/vme/video-marseille-v-manchester-liv-ne4.html
https://www.webpoisoncontrol.org/vme/video-marseille-v-manchester-liv-ne5.html
https://www.agwest.com/vme/Inter-v-shakter-diretta-itly1.html
https://www.agwest.com/vme/Inter-v-shakter-diretta-itly2.html
https://www.agwest.com/vme/Inter-v-shakter-diretta-itly3.html
https://www.agwest.com/vme/Inter-v-shakter-diretta-itly4.html
https://www.agwest.com/vme/Inter-v-shakter-diretta-itly5.html
https://www.agwest.com/vme/Liver-v-midtjyiiand-live-tp1.html
https://www.agwest.com/vme/Liver-v-midtjyiiand-live-tp2.html
https://www.agwest.com/vme/Liver-v-midtjyiiand-live-tp3.html
https://www.agwest.com/vme/regar-psg-v-istanbul-frtp1.html
https://www.agwest.com/vme/regar-psg-v-istanbul-frtp2.html
https://www.agwest.com/vme/regar-psg-v-istanbul-frtp3.html
https://www.agwest.com/vme/Video-Ajax-v-Atalanta-kijkn1.html
https://www.agwest.com/vme/Video-Ajax-v-Atalanta-kijkn2.html
https://www.agwest.com/vme/Video-Ajax-v-Atalanta-kijkn3.html
https://www.agwest.com/vme/Video-Bayern-v-Lok-Moskau-detp1.html
https://www.agwest.com/vme/Video-Bayern-v-Lok-Moskau-detp2.html
https://www.agwest.com/vme/Video-Bayern-v-Lok-Moskau-detp3.html
https://www.agwest.com/vme/Video-Bayern-v-Lok-Moskau-detp4.html
https://www.agwest.com/vme/Video-Bayern-v-Lok-Moskau-detp5.html
https://www.agwest.com/vme/video-marseille-v-manchester-liv-ne1.html
https://www.agwest.com/vme/video-marseille-v-manchester-liv-ne2.html
https://www.agwest.com/vme/video-marseille-v-manchester-liv-ne3.html
https://www.agwest.com/vme/video-marseille-v-manchester-liv-ne4.html
https://www.agwest.com/vme/video-marseille-v-manchester-liv-ne5.html
https://www.agwest.com/vme/t-v-e1.html
https://www.agwest.com/vme/t-v-e2.html
https://www.agwest.com/vme/t-v-e3.html
https://www.agwest.com/vme/t-v-e4.html
https://www.agwest.com/vme/t-v-e5.html
https://www.agwest.com/vme/t-v-e6.html
http://escargo.it/hmf/t-v-e1.html
http://escargo.it/hmf/t-v-e2.html
http://escargo.it/hmf/t-v-e3.html
http://escargo.it/hmf/t-v-e4.html
http://escargo.it/hmf/t-v-e5.html
http://escargo.it/hmf/t-v-e6.html
https://www.agwest.com/vme/Paris-v-Istanbul-direct-en1.html
https://www.agwest.com/vme/Paris-v-Istanbul-direct-en2.html
https://www.agwest.com/vme/Paris-v-Istanbul-direct-en3.html
https://www.agwest.com/vme/Paris-v-Istanbul-direct-en4.html
https://www.agwest.com/vme/Paris-v-Istanbul-direct-en5.html
https://www.agwest.com/vme/Olympiacos-v-Porto-liv-gr1.html
https://www.agwest.com/vme/Olympiacos-v-Porto-liv-gr2.html
https://www.agwest.com/vme/Olympiacos-v-Porto-liv-gr3.html
https://www.agwest.com/vme/Olympiacos-v-Porto-liv-gr4.html
https://www.agwest.com/vme/porto-v-olympiacos-viv-tv1.html
https://www.agwest.com/vme/porto-v-olympiacos-viv-tv2.html
https://www.agwest.com/vme/porto-v-olympiacos-viv-tv3.html
https://www.agwest.com/vme/porto-v-olympiacos-viv-tv4.html
https://www.agwest.com/vme/porto-v-olympiacos-viv-tv5.html
https://www.agwest.com/vme/porto-v-olympiacos-viv-tv6.html
https://www.agwest.com/vme/Real-v-Monchengladbach-liv-tv1.html
https://www.agwest.com/vme/Real-v-Monchengladbach-liv-tv2.html
https://www.agwest.com/vme/Real-v-Monchengladbach-liv-tv3.html
https://www.agwest.com/vme/Real-v-Monchengladbach-liv-tv4.html
https://www.agwest.com/vme/Real-v-Monchengladbach-liv-es1.html
https://www.agwest.com/vme/Real-v-Monchengladbach-liv-es2.html
https://www.agwest.com/vme/Real-v-Monchengladbach-liv-es3.html
https://www.agwest.com/vme/Real-v-Monchengladbach-liv-es4.html
https://www.agwest.com/vme/Real-v-Monchengladbach-liv-es5.html
https://www.agwest.com/vme/Real-v-Monchengladbach-liv-es6.html
http://congress.ebd.csic.es/voc/Real-v-Monchengladbach-liv-es1.html
http://congress.ebd.csic.es/voc/Real-v-Monchengladbach-liv-es2.html
http://congress.ebd.csic.es/voc/Real-v-Monchengladbach-liv-es3.html
http://congress.ebd.csic.es/voc/Real-v-Monchengladbach-liv-es4.html
http://congress.ebd.csic.es/voc/Real-v-Monchengladbach-liv-es5.html
http://congress.ebd.csic.es/voc/Real-v-Monchengladbach-liv-es6.html
https://www.webpoisoncontrol.org/vme/t-v-e1.html
https://www.webpoisoncontrol.org/vme/t-v-e2.html
https://www.webpoisoncontrol.org/vme/t-v-e3.html
https://www.webpoisoncontrol.org/vme/t-v-e4.html
https://www.webpoisoncontrol.org/vme/t-v-e5.html
https://www.webpoisoncontrol.org/vme/t-v-e6.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-direct-en1.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-direct-en2.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-direct-en3.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-direct-en4.html
https://www.webpoisoncontrol.org/vme/Paris-v-Istanbul-direct-en5.html
https://www.webpoisoncontrol.org/vme/Olympiacos-v-Porto-liv-gr1.html
https://www.webpoisoncontrol.org/vme/Olympiacos-v-Porto-liv-gr2.html
https://www.webpoisoncontrol.org/vme/Olympiacos-v-Porto-liv-gr3.html
https://www.webpoisoncontrol.org/vme/Olympiacos-v-Porto-liv-gr4.html
http://congress.ebd.csic.es/voc/s-v-b13.html
http://congress.ebd.csic.es/voc/s-v-b14.html
http://congress.ebd.csic.es/voc/s-v-b15.html
http://congress.ebd.csic.es/voc/s-v-b16.html
https://www.agwest.com/vme/s-v-b1.html
https://www.agwest.com/vme/s-v-b2.html
https://www.agwest.com/vme/s-v-b3.html
https://www.agwest.com/vme/s-v-b4.html
https://www.agwest.com/vme/s-v-b5.html
https://www.agwest.com/vme/s-v-b6.html
https://www.agwest.com/vme/s-v-b7.html
https://www.agwest.com/vme/s-v-b8.html
https://www.agwest.com/vme/s-v-b9.html
https://www.agwest.com/vme/s-v-b10.html
https://www.agwest.com/vme/s-v-b11.html
https://www.agwest.com/vme/s-v-b12.html
https://www.agwest.com/vme/s-v-b13.html
https://www.agwest.com/vme/s-v-b14.html
https://www.agwest.com/vme/s-v-b15.html
https://www.agwest.com/vme/s-v-b16.html
https://www.agwest.com/vme/s-v-b17.html
https://www.agwest.com/vme/s-v-b18.html
https://www.agwest.com/vme/s-v-b19.html
https://www.agwest.com/vme/s-v-b20.html
https://www.webpoisoncontrol.org/vme/s-v-b1.html
https://www.webpoisoncontrol.org/vme/s-v-b2.html
https://www.webpoisoncontrol.org/vme/s-v-b3.html
https://www.webpoisoncontrol.org/vme/s-v-b4.html
https://www.webpoisoncontrol.org/vme/s-v-b5.html
https://www.webpoisoncontrol.org/vme/s-v-b6.html
https://www.webpoisoncontrol.org/vme/s-v-b7.html
https://www.webpoisoncontrol.org/vme/s-v-b8.html
https://www.webpoisoncontrol.org/vme/s-v-b9.html
https://www.webpoisoncontrol.org/vme/s-v-b10.html
https://www.webpoisoncontrol.org/vme/s-v-b11.html
https://www.webpoisoncontrol.org/vme/s-v-b12.html
https://www.webpoisoncontrol.org/vme/s-v-b13.html
https://www.webpoisoncontrol.org/vme/s-v-b14.html
https://www.webpoisoncontrol.org/vme/s-v-b15.html
https://www.webpoisoncontrol.org/vme/s-v-b16.html
https://www.webpoisoncontrol.org/vme/s-v-b17.html
https://www.webpoisoncontrol.org/vme/s-v-b18.html
https://www.webpoisoncontrol.org/vme/s-v-b19.html
https://www.webpoisoncontrol.org/vme/s-v-b20.html
https://www.webpoisoncontrol.org/vme/Aja-v-Atalant-ufa-nl1.html
https://www.webpoisoncontrol.org/vme/Aja-v-Atalant-ufa-nl2.html
https://www.webpoisoncontrol.org/vme/Aja-v-Atalant-ufa-nl3.html
https://www.webpoisoncontrol.org/vme/Aja-v-Atalant-ufa-nl4.html
https://www.webpoisoncontrol.org/vme/Aja-v-Atalant-ufa-nl5.html
https://www.webpoisoncontrol.org/vme/Aja-v-Atalant-ufa-nl6.html
https://www.webpoisoncontrol.org/vme/Aja-v-Atalant-ufa-nl7.html
https://www.webpoisoncontrol.org/vme/Aja-v-Atalant-ufa-nl8.html
https://www.webpoisoncontrol.org/vme/Aja-v-Atalant-ufa-nl9.html
https://www.webpoisoncontrol.org/vme/Midtjylla-v-Rpool-ufa-dk1.html
https://www.webpoisoncontrol.org/vme/Midtjylla-v-Rpool-ufa-dk2.html
https://www.webpoisoncontrol.org/vme/Midtjylla-v-Rpool-ufa-dk3.html
https://www.webpoisoncontrol.org/vme/Midtjylla-v-Rpool-ufa-dk4.html
https://www.webpoisoncontrol.org/vme/Midtjylla-v-Rpool-ufa-dk5.html
https://www.webpoisoncontrol.org/vme/Midtjylla-v-Rpool-ufa-dk6.html
https://www.webpoisoncontrol.org/vme/Midtjylla-v-Rpool-ufa-dk7.html
https://www.webpoisoncontrol.org/vme/Midtjylla-v-Rpool-ufa-dk8.html
https://www.webpoisoncontrol.org/vme/Midtjylla-v-Rpool-ufa-dk9.html
https://www.webpoisoncontrol.org/vme/Monche-Madr-ufa-de1.html
https://www.webpoisoncontrol.org/vme/Monche-Madr-ufa-de2.html
https://www.webpoisoncontrol.org/vme/Monche-Madr-ufa-de3.html
https://www.webpoisoncontrol.org/vme/Monche-Madr-ufa-de4.html
https://www.webpoisoncontrol.org/vme/Monche-Madr-ufa-de5.html
https://www.webpoisoncontrol.org/vme/Monche-Madr-ufa-de6.html
https://www.webpoisoncontrol.org/vme/Salzbu-v-Atleti-ufa-at1.html
https://www.webpoisoncontrol.org/vme/Salzbu-v-Atleti-ufa-at2.html
https://www.webpoisoncontrol.org/vme/Salzbu-v-Atleti-ufa-at3.html
https://www.webpoisoncontrol.org/vme/Salzbu-v-Atleti-ufa-at4.html
https://www.webpoisoncontrol.org/vme/Salzbu-v-Atleti-ufa-at5.html
https://www.webpoisoncontrol.org/vme/Salzbu-v-Atleti-ufa-at6.html
https://www.webpoisoncontrol.org/vme/Salzbu-v-Atleti-ufa-at7.html
https://www.webpoisoncontrol.org/vme/Salzbu-v-Atleti-ufa-at8.html
https://www.webpoisoncontrol.org/vme/Salzbu-v-Atleti-ufa-at9.html
https://www.agwest.com/vme/Aja-v-Atalant-ufa-nl1.html
https://www.agwest.com/vme/Aja-v-Atalant-ufa-nl2.html
https://www.agwest.com/vme/Aja-v-Atalant-ufa-nl3.html
https://www.agwest.com/vme/Aja-v-Atalant-ufa-nl4.html
https://www.agwest.com/vme/Aja-v-Atalant-ufa-nl5.html
https://www.agwest.com/vme/Aja-v-Atalant-ufa-nl6.html
https://www.agwest.com/vme/Aja-v-Atalant-ufa-nl7.html
https://www.agwest.com/vme/Aja-v-Atalant-ufa-nl8.html
https://www.agwest.com/vme/Aja-v-Atalant-ufa-nl9.html
https://www.agwest.com/vme/Midtjylla-v-Rpool-ufa-dk1.html
https://www.agwest.com/vme/Midtjylla-v-Rpool-ufa-dk2.html
https://www.agwest.com/vme/Midtjylla-v-Rpool-ufa-dk3.html
https://www.agwest.com/vme/Midtjylla-v-Rpool-ufa-dk4.html
https://www.agwest.com/vme/Midtjylla-v-Rpool-ufa-dk5.html
https://www.agwest.com/vme/Midtjylla-v-Rpool-ufa-dk6.html
https://www.agwest.com/vme/Midtjylla-v-Rpool-ufa-dk7.html
https://www.agwest.com/vme/Midtjylla-v-Rpool-ufa-dk8.html
https://www.agwest.com/vme/Midtjylla-v-Rpool-ufa-dk9.html
https://www.agwest.com/vme/Monche-Madr-ufa-de1.html
https://www.agwest.com/vme/Monche-Madr-ufa-de2.html
https://www.agwest.com/vme/Monche-Madr-ufa-de3.html
https://www.agwest.com/vme/Monche-Madr-ufa-de4.html
https://www.agwest.com/vme/Monche-Madr-ufa-de5.html
https://www.agwest.com/vme/Monche-Madr-ufa-de6.html
https://www.agwest.com/vme/Salzbu-v-Atleti-ufa-at1.html
https://www.agwest.com/vme/Salzbu-v-Atleti-ufa-at2.html
https://www.agwest.com/vme/Salzbu-v-Atleti-ufa-at3.html
https://www.agwest.com/vme/Salzbu-v-Atleti-ufa-at4.html
https://www.agwest.com/vme/Salzbu-v-Atleti-ufa-at5.html
https://www.agwest.com/vme/Salzbu-v-Atleti-ufa-at6.html
https://www.agwest.com/vme/Salzbu-v-Atleti-ufa-at7.html
https://www.agwest.com/vme/Salzbu-v-Atleti-ufa-at8.html
https://www.agwest.com/vme/Salzbu-v-Atleti-ufa-at9.html
https://www.agwest.com/vme/a-v-c5.html
https://www.agwest.com/vme/a-v-c6.html
https://www.agwest.com/vme/a-v-c7.html
https://www.agwest.com/vme/video-atalanta-v-ajax-live-diretta-ena1.html
https://www.agwest.com/vme/a-v-e3.html
https://www.agwest.com/vme/a-v-e4.html
https://www.agwest.com/vme/video-atletico-v-salz-vivo-ena01.html
https://www.agwest.com/vme/a-v-c8.html
https://www.agwest.com/vme/a-v-c9.html
https://www.agwest.com/vme/a-v-d1.html
https://www.agwest.com/vme/a-v-d2.html
https://www.agwest.com/vme/a-v-d3.html
https://www.agwest.com/vme/a-v-d4.html
https://www.agwest.com/vme/a-v-d7.html
https://www.agwest.com/vme/a-v-e1.html
https://www.agwest.com/vme/video-ba-v-mo-liv-ena1.html
https://www.agwest.com/vme/video-man-v-mar-live-ena01.html
https://www.agwest.com/vme/video-mar-v-man-direct-ena01.html
https://www.agwest.com/vme/video-mi-v-li-live-tb01.html
https://www.agwest.com/vme/vidio-psg-v-istan-liv-direct-tb01.html
https://www.agwest.com/vme/a-v-d5.html
https://www.agwest.com/vme/a-v-d6.html
https://www.agwest.com/vme/video-int-v-don-liv-diretta-ena01.html
https://www.agwest.com/vme/a-v-e2.html
https://www.agwest.com/vme/video-real-v-monc-directo-ena01.html
https://www.webpoisoncontrol.org/vme/a-v-c5.html
https://www.webpoisoncontrol.org/vme/a-v-c6.html
https://www.webpoisoncontrol.org/vme/a-v-c7.html
https://www.webpoisoncontrol.org/vme/video-atalanta-v-ajax-live-diretta-ena1.html
https://www.webpoisoncontrol.org/vme/a-v-e3.html
https://www.webpoisoncontrol.org/vme/a-v-e4.html
https://www.webpoisoncontrol.org/vme/video-atletico-v-salz-vivo-ena01.html
https://www.webpoisoncontrol.org/vme/a-v-c8.html
https://www.webpoisoncontrol.org/vme/a-v-c9.html
https://www.webpoisoncontrol.org/vme/a-v-d1.html
https://www.webpoisoncontrol.org/vme/a-v-d2.html
https://www.webpoisoncontrol.org/vme/a-v-d3.html
https://www.webpoisoncontrol.org/vme/a-v-d4.html
https://www.webpoisoncontrol.org/vme/a-v-d7.html
https://www.webpoisoncontrol.org/vme/a-v-e1.html
https://www.webpoisoncontrol.org/vme/video-ba-v-mo-liv-ena1.html
https://www.webpoisoncontrol.org/vme/video-man-v-mar-live-ena01.html
https://www.webpoisoncontrol.org/vme/video-mar-v-man-direct-ena01.html
https://www.webpoisoncontrol.org/vme/video-mi-v-li-live-tb01.html
https://www.webpoisoncontrol.org/vme/vidio-psg-v-istan-liv-direct-tb01.html
https://www.webpoisoncontrol.org/vme/a-v-d5.html
https://www.webpoisoncontrol.org/vme/a-v-d6.html
https://www.webpoisoncontrol.org/vme/video-int-v-don-liv-diretta-ena01.html
https://www.webpoisoncontrol.org/vme/a-v-e2.html
https://www.webpoisoncontrol.org/vme/video-real-v-monc-directo-ena01.html
http://escargo.it/hmf/a-v-c5.html
http://escargo.it/hmf/a-v-c6.html
http://escargo.it/hmf/a-v-c7.html
http://escargo.it/hmf/video-atalanta-v-ajax-live-diretta-ena1.html
http://escargo.it/hmf/a-v-d5.html
http://escargo.it/hmf/a-v-d6.html
http://escargo.it/hmf/video-int-v-don-liv-diretta-ena01.html
http://congress.ebd.csic.es/voc/a-v-e3.html
http://congress.ebd.csic.es/voc/a-v-e4.html
http://congress.ebd.csic.es/voc/video-atletico-v-salz-vivo-ena01.html
http://congress.ebd.csic.es/voc/a-v-e2.html
http://congress.ebd.csic.es/voc/video-real-v-monc-directo-ena01.html
https://www.agwest.com/vme/t-v-f1.html
https://www.agwest.com/vme/t-v-f2.html
https://www.agwest.com/vme/t-v-f3.html
https://www.agwest.com/vme/video-madrid-v-gladbach-tc1.html
https://www.agwest.com/vme/video- madrid-v-gladbach-tc2.html
https://www.agwest.com/vme/video- madrid-v-gladbach-tc3.html
https://www.agwest.com/vme/video-atletico-v-salzburgo-em1.html
https://www.agwest.com/vme/video-atletico-v-salzburgo-em2.html
https://www.agwest.com/vme/video-atletico-v-salzburgo-em3.html
https://www.agwest.com/vme/video-olympiacos-v-Porto-gr1.html
https://www.agwest.com/vme/video-olympiacos-v-Porto-gr2.html
https://www.agwest.com/vme/video-olympiacos-v-Porto-gr3.html
https://www.agwest.com/vme/video-olympiacos-v-Porto-gr4.html
https://www.agwest.com/vme/video-olympiacos-v-porto-tc1.html
https://www.agwest.com/vme/video-olympiacos-v-porto-tc2.html
https://www.agwest.com/vme/video-real-v-monchen-directo-viv1.html
https://www.agwest.com/vme/video-real-v-monchen-directo-viv2.html
https://www.agwest.com/vme/video-real-v-monchen-directo-viv3.html
https://www.agwest.com/vme/video-salzburg-v-atletico-at1.html
https://www.agwest.com/vme/video-salzburg-v-atletico-at2.html
https://www.agwest.com/vme/video-salzburg-v-atletico-at3.html
https://www.agwest.com/vme/video-salzburg-v-atletico-vt1.html
https://www.agwest.com/vme/video-salzburg-v-atletico-vt2.html
https://www.agwest.com/vme/video-salzburg-v-atletico-vt3.html
https://www.webpoisoncontrol.org/vme/video-atletico-v-salzburgo-em1.html
https://www.webpoisoncontrol.org/vme/video-atletico-v-salzburgo-em2.html
https://www.webpoisoncontrol.org/vme/video-atletico-v-salzburgo-em3.html
https://www.webpoisoncontrol.org/vme/video-olympiacos-v-Porto-gr1.html
https://www.webpoisoncontrol.org/vme/video-olympiacos-v-Porto-gr2.html
https://www.webpoisoncontrol.org/vme/video-olympiacos-v-Porto-gr3.html
https://www.webpoisoncontrol.org/vme/video-olympiacos-v-Porto-gr4.html
https://www.webpoisoncontrol.org/vme/video-olympiacos-v-porto-tc1.html
https://www.webpoisoncontrol.org/vme/video-olympiacos-v-porto-tc2.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-directo-viv1.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-directo-viv2.html
https://www.webpoisoncontrol.org/vme/video-real-v-monchen-directo-viv3.html
https://www.webpoisoncontrol.org/vme/video-salzburg-v-atletico-at1.html
https://www.webpoisoncontrol.org/vme/video-salzburg-v-atletico-at2.html
https://www.webpoisoncontrol.org/vme/video-salzburg-v-atletico-at3.html
https://www.webpoisoncontrol.org/vme/video-salzburg-v-atletico-vt1.html
https://www.webpoisoncontrol.org/vme/video-salzburg-v-atletico-vt2.html
https://www.webpoisoncontrol.org/vme/video-salzburg-v-atletico-vt3.html

Life isn’t like the movies, of course. In the next few months we didn’t just fall from the tightrope, it snapped completely in half. I quietly stepped out of the limelight and he paraded his pain around town. I don’t mind. Let him have his elephants and his audience. I’m happy with a quieter, contented life.
Although there are many great papers and solutions out there that use BERT-embeddings (e.g., 1, 2, 3, ), I could not find a simple and easy-to-use BERT-based solution. Instead, I decide to create KeyBERT a minimal and easy-to-use keyword extraction technique that leverages BERT embeddings.
With methods such as Rake and YAKE! we already have easy-to-use packages that can be used to extract keywords and keyphrases. However, these models typically work based on the statistical properties of a text and not so much on semantic similarity.

We start by creating a list of candidate keywords or keyphrases from a document. Although many focus on noun phrases, we are going to keep it simple by using Scikit-Learns CountVectorizer. This allows us to specify the length of the keywords and make them into keyphrases. It also is a nice method for quickly removing stop words.

We can use n_gram_range to change the size of the resulting candidates. For example, if we would set it to (3, 3) then the resulting candidates would phrases that include 3 keywords.

Since transformer models have a token limit, you might run into some errors when inputting large documents. In that case, you could consider splitting up your document into paragraphs and mean pooling (taking the average of) the resulting vectors.

When we want to understand key information from specific documents, we typically turn towards keyword extraction. Keyword extraction is the automated process of extracting the words and phrases that are most relevant to an input text.
As mentioned before, there is a tradeoff between accuracy and diversity that you must keep in mind. If you increase the nr_candidates, then there is a good chance you get very diverse keywords but that are not very good representations of the document.
In the final step, we want to find the candidates that are most similar to the document. We assume that the most similar candidates to the document are good keywords/keyphrases for representing the document.

The maximum sum distance between pairs of data is defined as the pairs of data for which the distance between them is maximized. In our case, we want to maximize the candidate similarity to the document whilst minimizing the similarity between candidates.

There are many methods for generating the BERT embeddings, such as Flair, Hugginface Transformers, and now even spaCy with their 3.0 release! However, I prefer to use the sentence-transformers package as it allows me to quickly create high-quality embeddings that work quite well for sentence- and document-level embeddings.

Next, we convert both the document as well as the candidate keywords/keyphrases to numerical data. We use BERT for this purpose as it has shown great results for both similarity- and paraphrasing tasks.

There is a reason why similar results are returned… they best represent the document! If we were to diversify the keywords/keyphrases then they are less likely to represent the document well as a collective.

--

--