This module contains word-level grammar rules. It manages the fact that certain words can be
capitalized at the beginning of a sentence. Furthermore, it keeps track of the parsing process
and, in the case of an error, it can determine up to which token parsing succeeded.
- author
- - Tobias Kuhn
- reset_progress_record(+TokenList)
- This predicate resets the record about how far the parser proceeded in the token list. Furthermore, it
initializes the record for the new token list.
- get_unparsed_tokens_number(-Number)
- This predicate returns the smallest number of tokens that were not parsed (since the record was reset).
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- word(Arg1, Arg2, Arg3)
- word(Arg1, Arg2, Arg3, Arg4)
- word_initial(Arg1, Arg2, Arg3)
- word_initial(Arg1, Arg2, Arg3, Arg4)
- word_noninitial(Arg1, Arg2, Arg3)
- word_noninitial(Arg1, Arg2, Arg3, Arg4)
- word_capitalize(Arg1, Arg2, Arg3, Arg4)
- words(Arg1, Arg2, Arg3)
- words(Arg1, Arg2, Arg3, Arg4)
- words_initial(Arg1, Arg2, Arg3)
- words_initial(Arg1, Arg2, Arg3, Arg4)
- words_noninitial(Arg1, Arg2, Arg3)
- words_noninitial(Arg1, Arg2, Arg3, Arg4)
- get_position(Arg1, Arg2, Arg3)
- warning(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
- try(Arg1, Arg2, Arg3, Arg4)