AI writes speeches - Part I
Introduction
AI is quite popular now because of the apocalyptical movies that have come out. Well AI taking over the world, is a thing of the future (probably), but for now I can assure you that AI will not do that. AI will do what ever it is told to do, so today I will tell it to write a speech!
For this project I used a Markov Chain. To simplify a Markov Chain, it is basically AI that will find patterns in a given data and generate text based on the probabilities of the words appearing.
For this speech I used this speech of Shashi Tharoor as my dataset. For all the nerds out there the script was written in Python, the order of the Markov Chain was 3 and 100 words of AI speech was written
First Speech
of British colonialism and the fact remains that many of today's problems in these countries including the persistence and in some cases the creation of racial, of ethnic, of religious tensions were the direct result of colonialism. So there is a moral debt that needs to be paid. Someone challenged reparations elsewhere. Well I am sorry - Churchill's conduct in 1943 is simply one example of many that gave light to this myth. As others have said on the proposition - violence and racism were the reality of the colonial experience. And no wonder that the sun never set on the British empire
Second Speech
you with the greatest possible respect, you cannot to be rich to oppress, enslave, kill, maim, torture people for 200 years and then celebrate the fact that your Wi-Fi password at this Union commemorates the name of Mr Gladstone - the great liberal hero. Well, I am very sorry his family was one of those who benefited from this compensation. Staying with India between 15-29 million Indians died of starvation in British induced famines. The most famous example was, of course, was the great Bengal famine during the World War II when 4 million people died because Winston Churchill deliberately as a matter
Third Speech
are a tool for you to atone, for the wrongs that have done cannot be denied. It's been pointed out that for the example dehumanisation of Africans in the Caribbean, the massive psychological damage that has been done, the undermining of social traditions, of the property rights, of the authority structures of the societies - all in the interest of British colonialism and the fact remains that many of today's problems in these countries including the persistence and in some cases the creation of racial, of ethnic, of religious tensions were the direct result of colonialism. So there is a moral debt that
Conclusion
So in the above speeches we see that firstly, the punctuation and vocabulary is very bad and AI's speech is basically nonsense. All of this can be done using some natural language processing, although that is very very complicated.
So for our fun little weekend project this is very fun. By adding some gTTS code so that we can hear this speech, you will definitely be left laughing!!
Comments