2019-02-05 02:44:07 +02:00
|
|
|
[InflectionsModule::] Inflections Module.
|
|
|
|
|
|
|
|
Setting up the use of this module.
|
|
|
|
|
2022-05-17 09:46:35 +03:00
|
|
|
@ This section simply sets up the module in ways expected by //foundation//, and
|
2020-03-28 17:00:33 +02:00
|
|
|
contains no code of interest. The following constant exists only in tools
|
|
|
|
which use this module:
|
2019-02-05 02:44:07 +02:00
|
|
|
|
|
|
|
@d INFLECTIONS_MODULE TRUE
|
|
|
|
|
2020-05-09 18:25:04 +03:00
|
|
|
@ This module defines the following classes:
|
2019-02-05 02:44:07 +02:00
|
|
|
|
2020-06-29 13:41:12 +03:00
|
|
|
@e lexical_cluster_CLASS
|
|
|
|
@e individual_form_CLASS
|
2020-05-09 15:07:39 +03:00
|
|
|
@e plural_dictionary_entry_CLASS
|
|
|
|
@e verb_conjugation_CLASS
|
2019-02-05 02:44:07 +02:00
|
|
|
|
|
|
|
=
|
2020-06-29 13:41:12 +03:00
|
|
|
DECLARE_CLASS(individual_form)
|
|
|
|
DECLARE_CLASS(lexical_cluster)
|
2020-05-09 15:07:39 +03:00
|
|
|
DECLARE_CLASS(plural_dictionary_entry)
|
|
|
|
DECLARE_CLASS(verb_conjugation)
|
2019-02-05 02:44:07 +02:00
|
|
|
|
2020-03-28 17:00:33 +02:00
|
|
|
@ Like all modules, this one must define a |start| and |end| function:
|
2019-02-05 02:44:07 +02:00
|
|
|
|
2020-05-24 18:15:15 +03:00
|
|
|
@e CONSTRUCTED_PAST_PARTICIPLES_DA
|
|
|
|
@e CONSTRUCTED_PLURALS_DA
|
|
|
|
|
2019-02-05 02:44:07 +02:00
|
|
|
=
|
|
|
|
void InflectionsModule::start(void) {
|
2020-05-24 18:15:15 +03:00
|
|
|
Log::declare_aspect(CONSTRUCTED_PAST_PARTICIPLES_DA,
|
2023-09-05 10:36:51 +03:00
|
|
|
U"constructed past participles", FALSE, FALSE);
|
2020-05-24 18:15:15 +03:00
|
|
|
Log::declare_aspect(CONSTRUCTED_PLURALS_DA,
|
2023-09-05 10:36:51 +03:00
|
|
|
U"constructed plurals", FALSE, FALSE);
|
2019-02-05 02:44:07 +02:00
|
|
|
}
|
2020-03-28 17:00:33 +02:00
|
|
|
void InflectionsModule::end(void) {
|
|
|
|
}
|