bennn / iPoe

Interactive POetry Editor
27 stars 0 forks source link

allow hyphens #5

Open bennn opened 9 years ago

bennn commented 9 years ago

Hyphens should either:

(We can maybe skip checking "syllables already exist?", and rely on users to not put hyphens where there's already a syllable break.)

bennn commented 9 years ago

Does anything in the DB already have hyphens? If so, need to

  1. Check the DB for the full, hyphenated & normalized word
  2. Check for the full word with hyphens collapsed. On success, use hyphens to add more syllables
  3. Split by hyphens & check DB for those.

(ugh, 2 will be annoying to implement)