This is my attempt to create a machine translator from and to multiple natural languages. The method is based on formal (Chomsky) grammars and equivalency rules. The input sentence is parsed into a tree, an equivalent tree is constructed in the target language and traversed to yield the translated text. Currently, I am working on my native Serbian, and English. Future support may include Russian, Spanish and German.
When printing out a random sentence capitalize the first letter, i in english capitalized, capitalize nouns in german, italian and spanish proper question marking.
When printing out a random sentence capitalize the first letter, i in english capitalized, capitalize nouns in german, italian and spanish proper question marking.