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.
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.
Here's some information about context-free grammars: http://www.decontextualize.com/teaching/rwet/recursion-and-c...