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.
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>
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:
- sklearn (for machine learning)
- matplotlib (for plotting)
- numpy
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.
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.