File size: 1,899 Bytes
59f936d
 
 
ee9d01a
429f7ce
 
59f936d
61a8777
 
 
 
 
 
429f7ce
 
422f9b2
 
ee9d01a
422f9b2
59f936d
 
 
422f9b2
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import streamlit as st
import yake

st.set_page_config(page_title="KeyPhrase Extraction", page_icon='🌸', layout="wide")

text = """Sources tell us that Google is acquiring Kaggle, a platform that hosts data science and machine learning competitions. Details about the transaction remain somewhat vague, but given that Google is hosting its Cloud Next conference in San Francisco this week, the official announcement could come as early as tomorrow.

Reached by phone, Kaggle co-founder CEO Anthony Goldbloom declined to deny that the acquisition is happening. Google itself declined “to comment on rumors.”

Kaggle, which has about half a million data scientists on its platform, was founded by Goldbloom and Ben Hamner in 2010. The service got an early start and even though it has a few competitors like DrivenData, TopCoder and HackerRank, it has managed to stay well ahead of them by focusing on its specific niche. The service is basically the de facto home for running data science — and machine learning — competitions.

With Kaggle, Google is buying one of the largest and most active communities for data scientists — and with that, it will get increased mindshare in this community, too (though it already has plenty of that thanks to Tensorflow and other projects).

Kaggle has a bit of a history with Google, too, but that’s pretty recent. Earlier this month, Google and Kaggle teamed up to host a $100,000 machine learning competition around classifying YouTube videos. That competition had some deep integrations with the Google Cloud Platform, too."""

cola, colb = st.columns([1,1])
with cola:
    doc = st.text_area(label="", value=text, placeholder="Search", height=600)
    button_clicked = st.button("extract")
if doc or button_clicked:
    kw_extractor = yake.KeywordExtractor()
    keywords = kw_extractor.extract_keywords(doc)
with colb:
    st.table(keywords)