Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/francisrstokes/trump-chain
https://github.com/francisrstokes/trump-chain
generator markov-chain speech trump
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/francisrstokes/trump-chain
- Owner: francisrstokes
- Created: 2017-11-16T17:23:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-17T22:13:04.000Z (almost 7 years ago)
- Last Synced: 2024-08-12T03:04:47.972Z (3 months ago)
- Topics: generator, markov-chain, speech, trump
- Language: JavaScript
- Size: 327 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
TrumpChain is a Markov chain trained on a combination of Trump speeches and other famous figures like Hitler and Jesus, which can provide some hilarious results.
## See it in action!
https://francisrstokes.github.io/trump-chain/
## Run locally
The following example assumes you have python installed. If not, simply install any one of the hundreds of serve-type modules on npm and run it in the project directory.
```bash
git clone https://github.com/francisrstokes/trump-chain.git
cd trump-chain
npm i
npm run build && python -m SimpleHTTPServer 8080# Then go to http://127.0.0.1:8080
```## Example text
### Hitler
>My fellow Americans.
>Our prayers are with the failures of the proletariat, others placed their hope in this global economy. It is time to end the rule of special interests, and to start dreaming about the New American Future. Together, We will make arms unnecessary in the 33,000 emails Hillary Clinton to apologize for all of European history with the measures that others would put into place in them. All applicants for immigration will be completely self-financing. If you want to applaud my daughter, Ivanka, for her work and leadership on the constantly-evolving new methods of internal monitoring, attack and defense. Today, when foreign statesmen pretend not to be consumed with these issues.### Jesus
>But now my kingdom is not of this country of its jobs and its people, always – and I will instruct the Department of Justice, the FBI, the DEA and state and local police and law enforcement officers in this country, or what's really going on in people's lives. The poverty, the unemployment, the failing schools, the terrible trade deals, and the body more than others?
>Follow me, and it can be fixed very quickly. It is time to break with the families of this country to have their Earned Income Tax Credit funds directly deposited into their Dependent Care Savings Account. Working parents can get an expanded EITC benefit that equals up to China on our critical resources, the United States and around the same old lies and the truth on behalf of the factory worker who lost his savour, wherewith shall it be salted? These savings can then be used by parents to be trodden under foot of men. Neither do men light a candle, and put the American people. It's time to vote for a rich man to enter the kingdom of heaven.