- Read input
- Use dictionary database to find word types (probably implementing fuzzy matching to deal with typos). Gcide looks like a good one
- Build parse tree - verb phrases, noun phrases etc
- Calculate input semantic category (e.g. question, statement)
- Semantic processing
- Judge output semantic category
- Use semantic rules to create output 'theme'
- Use syntactic parse tree templates to turn output into natural language
- Write output
TBC...
No comments:
Post a Comment