posted an update

Saturday 2300 - Sunday 0900: More implementation.
We realised that PHP does not easily handle hashtables. In order to implement the feature that checks whether a tweet is published in English or not, we needed to use hashtables to store fairly large dictionary files. We would then have used the hash for O(1) search to check if words that comprise a tweet match with words found in the dictionary. If so, the word would contribute to the total percentage of words in the tweet that are English. A tweet above a certain threshold, say 80% to allow for slang or non-standard English, would be considered to be posted in English and hence displayed on the web interface.
Because this wasn't implemented, a large number of tweets displayed on the website are not in English. However, this may mean that a wider audience will use our application!
Besides this, the rest of the features were implemented. It was not without struggle - many energy drinks were consumed and icecream/cookie breaks were had. David slept for a grand total of 0 minutes, and Nathalia slept for 20 + 30 + 10 = 60 minutes over the 24+ hours (including time spent not hacking). Numerous test tweets were sent from both David and Nathalia's accounts, resulting in a lot of confusion from their followers.

Log in or sign up for Devpost to join the conversation.