It seems that the easiest way to convert/transform/translate an english natural language text to java code is as it is said, i.e. we do not need to use uml, xml, xmi or what ever.
We have to create a java program that parses the natural language text (using opennlp for example), extract subject-verb-object sentences and transform text into java code lines, for example :
Franck goes to the mosk every day five time.
Class Person {
///bla bla :)
}
void public main() {
Person Franck;
int day;
int time;
for day in 1..7 {
for time in 1 .. 5 {
Franck.go(mosk);
}
}
}
of course, there are many errors, but it just to gives an idea of how we could create a Natural Langage Translator to Java.
Tout ce qui figure sur ce blog est une interprétation personnelle qui peut comporter des erreurs de compréhension de ma part. Everything that appears on this blog is a personal interpretation which may include misunderstanding by my fault. Last contribution : https://sites.google.com/site/islamiclifealgorithm/
Subscribe to:
Post Comments (Atom)
Popular Posts
-
package islamPillars.salat.SalatUnits.SalatSubUnits; import Diplay.Generic; public class AlTaslim { public static void AlTaslim...
-
Comment apprendre le coran ? tableau pour apprendre le Coran. How to learn the quran ? table to learn the Quran. جدول لتسهيل حفظ القران . ...
-
Allah est beau, il aime la beauté. The works of Dr. kais dukes, Dr. Said ghazzawi, and Dr. abdeldaeem kaheel inspired me to propose ...
-
Parmi les bienfaits de la prosternation (soujoud), l'on peut constater: une position détendue des muscles du cou et les muscles cou...
-
The Holy Quran could be analysed in many levels and perspectives, for example: -occurrence of specific names and words, -analysis of thes...
-
Qui n'a jamais commis de pêché qu'il regrette, qui n'est jamais passé par des épreuves à couper le souffle, qui n'a jamais ...
-
Research project : information science serving islamic studies This project could implement different studies : -extracting pattern, pro...
-
The works of Dr. kais dukes, Dr. Said ghazzawi, and Dr. abdeldaeem kaheel inspired me to propose my own...
-
The works of Dr. kais dukes, Dr. Said ghazzawi, and Dr. abdeldaeem kaheel inspired me to propose my own contribution to the scientific isl...
-
Analyzing, modelling, designing and developing Islamic knowledge Using Unified Modelling Language, Model Driven Engineering, and Object O...
No comments:
Post a Comment