Live data from Hacker News

Haiku Validator

haikuvalidator.com

1–10 of 34 posts

Re: Haiku Validator

#2
A little flask app to write and validate haikus. It's definitely not perfect and makes some mistakes. It uses the syllables python library to estimate how many syllables are in each word.

You can check the override list at https://haikuvalidator.com/overrides and if you have any suggestions feel free to let me know any words that are broken.

This is my first time making a web app. Hoping that someone finds it fun / useful.

Re: Haiku Validator

#4
post #2

A little flask app to write and validate haikus. It's definitely not perfect and makes some mistakes. It uses the syllables python library to estimate how many syllables are in each word. You can check the override list at https://haikuvalidator.com/overrides and if you have any suggestions feel free to let me know any words that are broken. This is my first time making a web app. Hoping that someone finds it fun / u…

close comes up as 2 syllables in the app, should be 1.

Nice and simple, very nice app.

Re: Haiku Validator

#5
post #2

A little flask app to write and validate haikus. It's definitely not perfect and makes some mistakes. It uses the syllables python library to estimate how many syllables are in each word. You can check the override list at https://haikuvalidator.com/overrides and if you have any suggestions feel free to let me know any words that are broken. This is my first time making a web app. Hoping that someone finds it fun / u…

"Sometimes" and "sense" are both wrong. I don't think this library is very good

Re: Haiku Validator

#6
post #2

A little flask app to write and validate haikus. It's definitely not perfect and makes some mistakes. It uses the syllables python library to estimate how many syllables are in each word. You can check the override list at https://haikuvalidator.com/overrides and if you have any suggestions feel free to let me know any words that are broken. This is my first time making a web app. Hoping that someone finds it fun / u…

"wrote" came up as 2 syllables :(

Re: Haiku Validator

#7
A little pedantic, but: this will tell you if a poem is shaped like the common English conception of a haiku, but it won't tell you if this is a haiku, because a haiku is more than just counting syllables.

Aside from the fact that "syllables" is not exactly the unit being counted in haiku, there are also considerations of theme, tone, and a sort of "open-ended-ness" – among other considerations.

This article served as my introduction to the actual complexities of haiku: https://forgottenpoets.substack.com/p/haiku-thursdays-one-pl...

Re: Haiku Validator

#8
post #2

A little flask app to write and validate haikus. It's definitely not perfect and makes some mistakes. It uses the syllables python library to estimate how many syllables are in each word. You can check the override list at https://haikuvalidator.com/overrides and if you have any suggestions feel free to let me know any words that are broken. This is my first time making a web app. Hoping that someone finds it fun / u…

"space" is counted as 2 syllables, should be 1

Seems like a general problem with words ending in 'e'

Re: Haiku Validator

#9
Super fun idea! That syllables package might not be robust enough for this purpose. Even in its documentation's super simple code samples, it estimates the word estimate wrong haha. I think that's somewhat meant to be an admission by the author that it is an estimate.

>>> import syllables

>>> syllables.estimate('estimate')

4

Doesn't matter in the context of making a fun web app though, cool idea!

Re: Haiku Validator

#10
post #2

A little flask app to write and validate haikus. It's definitely not perfect and makes some mistakes. It uses the syllables python library to estimate how many syllables are in each word. You can check the override list at https://haikuvalidator.com/overrides and if you have any suggestions feel free to let me know any words that are broken. This is my first time making a web app. Hoping that someone finds it fun / u…

For this kind of use case it'd be interesting if it could use a dictionary that notes multiple pronunciations. E.g. for "fire" in that list there isn't necessarily a single correct answer https://www.britannica.com/dictionary/eb/qa/fire-one-syllabl...
Post reply on HN