> if word.startswith("ub"): return FalseAn uber-rich man riding in an Uber installed an Ubuntu package.I'm actually a bit surprised by this rule. Is this line there entirely due to the word "ubiquitous"? I think it is.
Two of the three words in your example are proper names, which the author decided not to include.The full "ub" list in cmudict is: ubben uber ubiquitous ubiquity ubuntuUbben is a name as well, so it should leave us with uber, ubiquitous and ubiquity.I think uber might have been dropped by accident because of Uber.
I think it'd be reasonable to keep uber, but I had dropped it because it wasn't in /usr/share/dict/words on Linux or Mac. That was a quick&dirty way to filter out proper names, but it misses some other words too.
bugufu8f83 · · focus · HN ↗
An uber-rich man riding in an Uber installed an Ubuntu package.
I'm actually a bit surprised by this rule. Is this line there entirely due to the word "ubiquitous"? I think it is.
wartijn_ · · focus · HN ↗
The full "ub" list in cmudict is: ubben uber ubiquitous ubiquity ubuntu
Ubben is a name as well, so it should leave us with uber, ubiquitous and ubiquity.
I think uber might have been dropped by accident because of Uber.
amitp · · focus · HN ↗
wartijn_ · · focus · HN ↗