An analysis of Steve Jobs tribute messages displayed by Apple
1–10 of 30 posts
Re: An analysis of Steve Jobs tribute messages displayed by Apple
#2Re: An analysis of Steve Jobs tribute messages displayed by Apple
#3Re: An analysis of Steve Jobs tribute messages displayed by Apple
#4Wouldn't the regex for "mac" also match "macintosh" and "imac" and inflate the numbers?
Re: An analysis of Steve Jobs tribute messages displayed by Apple
#5Wouldn't the regex for "mac" also match "macintosh" and "imac" and inflate the numbers?
Re: An analysis of Steve Jobs tribute messages displayed by Apple
#6Re: An analysis of Steve Jobs tribute messages displayed by Apple
#7Why is this blocked by my ISP under "Pornography"?
If you live in a repressive country prohibiting pornography you should get a VPN. I'm satisfied with my choice of strongVPN.com
Re: An analysis of Steve Jobs tribute messages displayed by Apple
#8Wouldn't the regex for "mac" also match "macintosh" and "imac" and inflate the numbers?
for i in newton macintosh macbook ibook iie mac iphone ipod imac ipad II+ iigs LaserWriter osx 'apple ?tv' itunes '\]\[' imovie do stevejobs_tribute.txt |wc -l`" echo "$i: `egrep -wi "${i}s?" $INPUTFILE|wc -l`" done
But this was difficult to maintain. I wanted the ability to print a 'friendly' looking product name (the dict's key) and maintain the counts in a variable.
When I made the move from bash to python, I knew that there would be some overlap when I pushed this code (in the name of shipping!). I need to split the sentences into proper tokens and then check each token for a product match. I'm already splitting the sentence into tokens for part-of-speech tagging so it shouldn't be difficult to do.
tl;dr known issue on the Mac regex, I needed to publish it and get back to work!
Re: An analysis of Steve Jobs tribute messages displayed by Apple
#9Why is this blocked by my ISP under "Pornography"?
Because you have a poor ISP. No proper ISP should block anything (except maybe child porn, but that's a slippery slope). Change your DNS to either Google's (8.8.8.8) or OpenDNS. If you live in a repressive country prohibiting pornography you should get a VPN. I'm satisfied with my choice of strongVPN.com