We wanted to make a tool that would help people learn the ins and outs of the English language, more specifically, all the different ways one word can be used!
What it does
It's a Chrome extension that allows you to highlight and right click any word to view its many different use cases along with similar use cases to further your understanding of the English language!
How we built it
Using Google's Chrome extension tools, APIs, and libraries, the Flask micro-framework for Python web applications, and nltk, a natural language processing library for Python that allowed us to analyze sentences for their differing contexts.
Challenges we ran into
Chrome extensions are so weird. Everything's locked in its own "sandbox" almost and you have to pass around all these "messages" to get the different parts communicating with each other. It was so hard to get the current page to talk to the extension, especially with regards to grabbing the sentence that the highlighted word is in.
Accomplishments that we're proud of
It was so tough to get the sentence that contained the word you would highlight due to the inherent blocking nature of Chrome extension communications. But we powered through it! After five hours, we did it!
What we learned
What's next for Contextly