2015-08-02 22:01:16 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2015-08-03 02:09:36 +00:00
|
|
|
<title>BuzzFeed Haiku Generator</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
div.haiku pre {
|
|
|
|
font-size: large;
|
|
|
|
}
|
|
|
|
div.footer {
|
|
|
|
font-size: small;
|
2015-08-03 03:17:46 +00:00
|
|
|
margin-top: 4rem;
|
2015-08-03 02:09:36 +00:00
|
|
|
}
|
|
|
|
</style>
|
2015-08-02 22:01:16 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2015-08-03 02:09:36 +00:00
|
|
|
<h2>BuzzFeed Haiku Generator</h2>
|
2015-08-02 22:01:16 +00:00
|
|
|
<div class="haiku">
|
|
|
|
<pre>{{haiku}}</pre>
|
|
|
|
<form action="">
|
|
|
|
<input type="submit" value="Generate">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="footer">
|
|
|
|
<p>
|
|
|
|
Made by Tyler Hallada using
|
|
|
|
<a href="https://www.python.org/">Python</a>,
|
|
|
|
<a href="http://www.nltk.org/">NLTK</a>,
|
|
|
|
<a href="http://flask.pocoo.org/">Flask</a>,
|
|
|
|
<a href="https://pypi.python.org/pypi/inflect">inflect</a>,
|
|
|
|
<a href="http://eayd.in/?p=232">sylco</a>, and
|
|
|
|
<a href="https://www.reddit.com/r/datasets/comments/3es1s4/33k_nytimes_and_18k_buzzfeed_facebook_posts_and_a/">BuzzFeed Facebook Posts</a>
|
2015-08-03 03:17:46 +00:00
|
|
|
<br>
|
|
|
|
Code at <a href="https://github.com/thallada/nlp">Github</a> and <a href="http://git.hallada.net/nlp/">cgit</a>
|
2015-08-02 22:01:16 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|