|
2 | 2 |
|
3 | 3 | ## About HERALD |
4 | 4 |
|
5 | | -HERALD stands for Human-centric Extraction for Research and Analysis of Longitudinal Data. It is a specialized query language designed to facilitate the extraction and aggregation of data into cross-sectional tables for statistical analyses and machine learning. The design of HERALD's syntax is intuitive, closely mirroring natural language to enhance user accessibility and efficiency. The prototype implementation consists of a HERALD excecution engine, combined with a graphical query editor, and paired with analytics functionalities to showcase the capabilities of the HERALD query language. |
| 5 | +HERALD stands for Human-centric Extraction for Research and Analysis of Longitudinal Data. It is a specialized query language designed to facilitate the extraction and aggregation of longitudinal data into cross-sectional tables for statistical analyses and machine learning. HERALD's syntax closely mirrors natural language. The prototype implementation consists of an excecution engine, a graphical query editor, and an online demo supporting analytics functionalities. |
6 | 6 |
|
7 | | -This repository, "herald-lang," houses the core functionalities of HERALD. |
| 7 | +This repository, "herald-lang," contains the core modules of HERALD. |
8 | 8 |
|
9 | 9 | ## Repository Contents |
10 | 10 |
|
11 | | -- `herald-core`: This module forms the core of the HERALD query language. It encompasses the language's grammar, parser, and lexer, providing the essential components that define and interpret HERALD's syntax and commands. |
| 11 | +- `herald-core`: This module forms the core of the HERALD query language. It encompasses the language's grammar, parser, and lexer, as well as an execution engine. |
12 | 12 |
|
13 | | -- `herald-ui`: This component is dedicated to the user interface aspects of HERALD. It includes an intuitive graphical query editor, facilities for query binding, and tools for browsing and interacting with concept hierarchies. |
| 13 | +- `herald-ui`: This component implements a user interface for graphically building queries and browsing the concept hierarchy contained within a dataset. |
14 | 14 |
|
15 | | -- `ghdm-data`: This module incorporates the generic data model integral to HERALD and supports various data loading and wrangling functionalities. |
| 15 | +- `ghdm-data`: This module provides the generic data model used by HERALD and supports various data loading and wrangling functionalities. |
16 | 16 |
|
17 | | -- `ghdm-ui`: This module houses additional UI elements, such as cohort selection and various modals. |
| 17 | +- `ghdm-ui`: This module contains additional UI elements, such as interfaces for cohort selection. |
18 | 18 |
|
19 | 19 |
|
20 | 20 | ## Bundling Instructions |
21 | 21 |
|
22 | | -To bundle HERALD-Lang for deployment or distribution, follow these steps: |
| 22 | +To bundle HERALD-Lang for deployment or distribution, run the `bundling.sh` script in your console. This script initiates the webpack bundling process, installs respective dependencies and stores the bundled files in a `dist` folder. |
23 | 23 |
|
24 | | -1. Run the `bundling-all.sh` script in your console. This script initiates the webpack bundling process. |
25 | | -2. The script will install respective dependencies and create bundled files in a `dist` folder. |
26 | | -3. Copy the bundled files from the `dist` folder to the `src` folder in the [herald-demo](https://github.com/BIH-MI/herald-demo) repository to use them in the live demo and see HERALD in action. |
| 24 | +To see the results in action, copy the bundled files from the `dist` folder to the `src` folder in the [herald-demo](https://github.com/BIH-MI/herald-demo) repository to use them in the demo. |
27 | 25 |
|
28 | | -## Live demo |
| 26 | +## Building the Grammar |
29 | 27 |
|
30 | | -A live demonstration is accessible at [herald-lang.org](http://herald-lang.org) with the respective code stored at [herald-demo](https://github.com/BIH-MI/herald-demo). |
| 28 | +`npm install -g nearley` |
| 29 | +`nearleyc herald-grammar.ne -o herald-grammar.js` |
31 | 30 |
|
| 31 | +## Debugging the Grammar |
32 | 32 |
|
33 | | -## Contact |
| 33 | +`https://nearley.js.org/docs/tooling` |
| 34 | + |
| 35 | +## Online demo |
34 | 36 |
|
35 | | -If you have questions or problems, we would like to invite you to open an issue at Github. This allows other users to collaborate and (hopefully) answer your question in a timely manner. If your request contains confidential information or is not suited for a public issue, send us an email. |
| 37 | +An online demonstration is available at [herald-lang.org](http://herald-lang.org) with the respective code managed at [herald-demo](https://github.com/BIH-MI/herald-demo). |
| 38 | + |
| 39 | +## Contact |
36 | 40 |
|
37 | | -| Name | Email | |
38 | | -|-------------------------------|-------------------------------------------| |
39 | | -| [Fabian Prasser](https://github.com/prasser) | [fabian.prasser@charite.de](mailto:fabian.prasser@charite.de) | |
40 | | -| [Lena Baum](https://github.com/bihmi-lb) | [lena.baum@charite.de](mailto:lena.baum@charite.de) | |
41 | | -| [Armin Müller](https://github.com/muellerarmin) | [armin.mueller@charite.de](mailto:armin.mueller@charite.de) | |
42 | | -| [Marco Johns](https://github.com/Lumiukko) | [marco.johns@charite.de](mailto:marco.johns@charite.de) | |
| 41 | +If you have questions or problems, please open an issue on GitHub or contact us directly. |
43 | 42 |
|
44 | | -You can also find us at our working group's website [mi.bihealth.org](https://mi.bihealth.org). |
| 43 | +You can find out more about our work here: [mi.bihealth.org](https://mi.bihealth.org). |
45 | 44 |
|
46 | 45 | ## License |
47 | 46 |
|
|
0 commit comments