Hacker News new | ask | show | jobs
by snarfy 4259 days ago
The best names have two syllables.
2 comments

Or, sound so foreign people look up the meaning--like Physibles? I guess that website could promote any name though?
I tend to agree with you, do you know of any software projects to programmatically determine syllables?
Couldn't find anything that says it officially supports counting of syllables but stackoverflow provided this possible solution:

  from nltk.corpus import cmudict
  d = cmudict.dict()
  def nsyl(word):
    return [len(list(y for y in x if y[-1].isdigit())) for x in d[word.lower()]]