Natural Language Processing Using Python - Trump Speeches

Again, just having fun on the very first day of 2021.  Passing Trump's speeches into a markov algorithm to churn out random sentences.


Note that Trump of course did not say these sentences.  It is just generated by a computer algo.


Sentences I like are in underlined bold.  It is almost good to pass off as one of Trump's own sayings.


  1. We’ve been thinking about that now for a little while but I want 10%, 15%. Because the truth is that the establishment can’t believe it because it’s so bucolic, so beautiful.
  2. But that’s the statement of an inexperienced man…About we have to be able to get along with everybody.
  3. We have to be smart enough to stop it, folks.
  4. Of course if you listen to the pundits, we weren’t expected to win it; Jeb was expected to come in legally.
  5. But the whole point is that it brings us all together.
  6. One of the best-selling, all-time, and I mean this so, so strongly – the veterans hospitals – obviously they have problems.
  7. You can be tough, you’ve got to lead these men.
  8. I’m a little bit foolish.
  9. And I’m not knocking it.
  10. BUT WE HAVE TO TAKE CARE OF PEOPLE.
  11. But you know, you look at our roadways where they're crumbling.
  12. We have people – bureaucrats in Washington telling them how to educate their kids.
  13. I’m not watching any of them in the next week.
  14. Did you ever see what they do is they convince people like me not to do it right from here and from here.
  15. But it’s still the New York Times is a big problem, Russia’s a problem, China’s a problem.
  16. We want trade deals that Bernie was so vehemently against and he’s right on that – it’s such misrepresentation.
  17. I have many of these people that are morally corrupt.
  18. But if I’m forced to fight for the Second Amendment.
  19. They pay them hundreds of thousands of people and move to another location.
  20. But we are going to make our own products.
  21. And this is not a good sign.
  22. When I have somebody that’s going to be our president.
  23. Actually though what I got was worse than credit because they were the first victory I had.
  24. I mean, you look at Atlantic City.
  25. Look, Club for Growth – you ever watch the McLaughlin Report?
  26. Just take a look at your security, take a look at what's happening with the devaluations of so many countries.
  27. ...A poll came out and some of the Super PACs have total control over the people running for office.
  28. This is a wall too.


Natural Language Processing Using Python - Trump speeches

Got a Python code from Github that uses Markov algo to churn out random sentences using Trump's speeches as a database.


Check out some of the random sentences I got below:



Immigration is a privilege, and we should have kept 20,00 troops or something, we give Iraq.

ADD LEAST HE'S NOW ADMITTING IT IS GOING TO BE AS BEAUTIFUL AS A WALL COULD BE.

We have 93 million people that are incompetent.

When Ford moves to Mexico, I’m going to stop drugs from coming into New Hampshire.

When Carrier Air Conditioners, as you know, Afghanistan for $43 million – can you imagine we are ranked number 28 which is way down at the negotiating table without pre-conditions for years.

In other words, the worst elements in Mexico are being pushed into the United States and Israel is absolutely, totally unbreakable.

He mentions it but I want them to invest in our country.

Why do they have to do that, you know, I said bomb the oil, right?

And again, we have a situation in Afghanistan; we're spending tremendous amounts of money were spent – millions and millions of votes more.

So I told these political pros, you know, I hate to say 40 but I won’t even say.

We will someday in the not too distant future.

Again, many Americans must wonder why we get the crowds, you wonder why you get yourself in trouble.

Don’t forget, I didn’t want the credit for that.

I mean, they have no documentation and we don’t win very much.

I’d get along with him.

And I believe we’re going to be incredible.


Rwanda - Becoming Africa's Singapore

Whenever anyone hears about Rwanda, images and thoughts of the horrible 1994 genocide surfaces to the mind.  Back in 1994, the majority Hutu massacred an estimated 500,000 to 1 million Tutsi.  More than 2 million people fled the country into neighboring countries until order was restored.

It is therefore hard for anyone to imagine that economic transformation is under way after more than 25 years since the horrible incident.  But Rwanda has taken long strides since then. Under the leadership of ex-military strongman, Paul Kagame, the country seems to have picked itself up since 2000 is making steady progress towards becoming Africa's Singapore.

Under Paul Kagame, a Vision 2020 was set to develop Rwanda into a knowledge-based middle class country by 2020.  Kagame sought extensive advice from various experts outside of his country.  And it seems like good progress is being made.

Amongst the reforms that have been brought about, one of them includes keeping Rwanda clean.  It is illegal to use plastic bags in Rwanda and bringing in plastic bags is an offence.  Talk about dedication to sustainability efforts!  Rwanda

Here is a good informative video on Rwanda.  The Singapore of Africa perhaps?



Any Rwandans reading this post?  Please leave a comment below.  Will definitely want to hear more.

Read More Links Don't Work After Migrating to New Template

 This blog post is a test.  


After migrating to a new template,  most of the links in both featured post and blog post do not work. 


Testing to see if the same issue occurs for a brand new post under the new template. 


Hopefully,  this works. 

Car Ownership Cost in Singapore - Parking

Of the many car ownership costs in Singapore, the cost of parking probably varies the most.


How much does parking cost in Singapore? Well it really depends. 


Firstly, it depends on where you are staying. If you are staying in  landed property, there is zero parking costs involved. If you are stay in a condo/private apartment, probably no parking costs incurred too (if you keep within the limits of the number of cars).  

How Much is CPF Retirement Sum

CPF Retirement Sum.  Easy yet complicated.

Fact #1 - For your retirement needs

Firstly, to withdraw money from your CPF at age 55, you are required to meet the CPF retirement sum.  At the age of 55, one's money in the Ordinary Account and Special Account are swept into the Retirement Account.

Civil Service Bonus for 2020

Straits Times reported lately that civil servants will not be getting a year end bonus this year due to Covid 19.  There was also no mid-year bonus paid out.

Civil servants received a one off payment of 0.25 months which was capped at $750 as well as their 13th month bonus.  This year, senior civil servants also had a pay cut of 0.5 to 1 month according to their seniority.

Not all gloom and doom though.  Civil servants still enjoy a performance bonus that is outside of the mid-year and year-end bonus.  An average performer should get around 3 months worth of performance bonus according to anonymous feedback in various forums.  So taking that into account, civil servant's annual pay package for this year should be around 16 months of monthly salary.  That is assuming one is an average performer.

Interested in civil service payscale? Check out this link here https://sgfinancialfreedom.blogspot.com/2015/10/singapore-civil-service-pay-scale.html

MHA Bonus?

Featured Post

Unlock Exclusive Deals and Savings: Join Amazon Prime Today!

Amazon is celebrating Prime members with a multitude of deals during Prime Day. The event will offer more deals than ever before, with new d...