Stand-by flying, holiday season, full flights, mild snowstorms, a relaxing lounge with fake trees and a green carpet. Only insights into real data and multi-factor probabilistic analysis might be able to give a valid prediction of whether I will manage to catch a flight tomorrow.
Since I don't have all that data, I'll simply fall back into what humans are so good at: superstition 😉
So here's my completely random analysis of some random corpora, to find out with high certainty whether or not I'll leave this airport tomorrow.
Say hello to the text-based flight oracle!
import nltk
from nltk.book import *
all_texts = [text1, text2, text3, text4, text5, text6, text7, text8, text9]
The oracle is ready. Let's see what it will tell us regarding my immediate future...
for text in all_texts:
print(text)
text.dispersion_plot(["catch", "flight", "tomorrow", "stay", "another", "day"])
Ouch! Nearly all the oracle's voicings clearly favor the probability that I'll have to remain for another day!
Not looking good!
Only The Man Who Was Thursday seems to allot me at least some chance of success... This actually has an interesting aspect that might be able to tilt the tide in my favor after all!!
from datetime import date
import calendar
today = date.today()
print(calendar.day_name[today.weekday()])
So while most voices of the flight oracle speak a clearly biased
"NO"
The Man Who Was Thursday gives me a
"you know... probably not. but MAYBE..."
And since tomorrow is Thursday, and since this whole thing is anyways staying in humanities great tradition of patter-finding and interpreting outcomes however we please - DRUMROLL - we have a result:
Yay!