Hacker News new | ask | show | jobs
by rhcom2 3341 days ago
I'm incredibly interested in the ballet part, what was it trained on? Any more info on that part?
1 comments

Yeah, I simply ingested words in French from a few online ballet dictionaries into a JSON object, and used a recursive context-free grammar to generate (generally) grammatically correct sentences. The result was a mixture of English and French because the dancer (Sarah Hay) requested that I add a few words of her choice in English as well.

Here's some information about context-free grammars: http://www.decontextualize.com/teaching/rwet/recursion-and-c...

The dictionary gives you the terms but how do you get the rules (like S -> NP VP) to combine them? Or were the rules the same as the English language just with the verbs from the ballet dictionary? Thank you for the link also.