/web_data_models_project

XML parsing using a homemade automaton

Primary LanguageJupyter Notebook

web_data_models_project [D&K2017]

YAX Parser (Yet Another XML Parser) This project is about implementing an XML parser using a DTD file, both the XML and the DTD files are symplified.

How to Run ?

there is no need to download additional libraries, you just need python 3 installed.
To run the program run the command below:
./python yax_parser_CLI.py <xml_file_path> <dtd_file_path>

Analysis and experiment document

to display the jupyter notebook and see the analysis and all the tests we did you need to install jupyter notebook.
In order to execute the notebook, if you want to redo the tests, you will need these dependencies:

either you download each of the dependencies or you just install Anaconda3 distribution that already includes them.
To run the tests on the memory consumption you need to add memory porfiler module.

How to display the notebook ?

run the command below:
jupyter notebook <path_to_notebook>. if you are in the root of the project hierarchy, <path_to_notebook> should be replaced by jupyter_notebook/YAX_parser.ipynb

you can find a none executable version of the notebook here in GitHub, but it's not displaying the figure for Thompons' construction rules.