2022-07-13 12:06:22 +00:00
|
|
|
class ConcordanceQueryBuilder {
|
|
|
|
|
2022-09-07 07:06:21 +00:00
|
|
|
constructor() {
|
2023-08-08 12:12:07 +00:00
|
|
|
|
2023-08-02 12:14:46 +00:00
|
|
|
this.elements = new ElementReferencesQueryBuilder();
|
|
|
|
this.generalFunctions = new GeneralFunctionsQueryBuilder(this.elements);
|
2023-08-11 11:55:41 +00:00
|
|
|
this.tokenAttributeBuilderFunctions = new TokenAttributeBuilderFunctionsQueryBuilder(this.elements);
|
|
|
|
this.structuralAttributeBuilderFunctions = new StructuralAttributeBuilderFunctionsQueryBuilder(this.elements);
|
2022-09-07 07:06:21 +00:00
|
|
|
|
2023-08-08 12:12:07 +00:00
|
|
|
this.elements.positionalAttrModal = M.Modal.init(
|
2023-08-08 14:00:30 +00:00
|
|
|
document.querySelector('#corpus-analysis-concordance-positional-attr-modal'),
|
2023-07-25 12:56:07 +00:00
|
|
|
{
|
2023-08-08 12:12:07 +00:00
|
|
|
onOpenStart: () => {
|
2023-08-11 11:55:41 +00:00
|
|
|
this.tokenAttributeBuilderFunctions.optionToggleHandler();
|
2023-07-25 12:56:07 +00:00
|
|
|
}
|
|
|
|
}
|
2023-08-08 12:12:07 +00:00
|
|
|
);
|
2022-09-07 07:06:21 +00:00
|
|
|
}
|
2022-07-13 12:06:22 +00:00
|
|
|
}
|