4 ms·
It thinks "false" is two syllables, which seems to be just a dictionary problem. For something like this, those need to be very diligently squashed if you plan
by benaiah 14y ago
It thinks "false" is two syllables, which seems to be just a dictionary problem. For something like this, those need to be very diligently squashed if you plan to make something commercial out of it.
The editor is way too small - this is a really simple fix.
Finally, I'm not sure why this is all in PHP - it seems like this would be much easier to use self-hosted or otherwise packaged if it was client-side only PHP and Javascript. It doesn't look like the program does anything which couldn't be done that way trivially - please correct me if I'm wrong.
In other respects, this is pretty basic, but very well-done, particularly for a hackathon project. Nicely done!
- bilalq 14y ago1.) Yeah, there're still some bugs that we need to work out. We also need to come up with a more scalable solution of finding rhymes if we go commercial. 2.) Yeah, you're right. We just wanted something that would look good on the projector during our demo. This needs to be tweaked. 3.) You're right for the most part. We didn't really know how we'd be implementing it at the beginning. We thought we'd need to do a lot of heavy server-side processing (which turned out to be a false assumption). We do want to add the ability for users to exist and have poems saved under their account that they can share and stuff though. 4.) Thanks! We decided early on that it'd be better to do a few things well than try to implement a lot of half finished features.
- nicklovescode 14y agoNot sure if this would be helpful, but I built http://nickcammarata.com/haiku/ http://nickcammarata.com/haiku/ a while ago, which has some code for calculating syllables. http://nickcammarata.com/haiku/haiku.coffee http://nickcammarata.com/haiku/haiku.coffee (or .js)