parser.py is the module that contains our functions for reading in and normalizing textual input from .txt or .xml files. There are three functions that we are working on:
parse_txt
Takes in a .txt file, reads using base Python with open(...) syntax, and
parser.py
is the module that contains our functions for reading in and normalizing textual input from.txt
or.xml
files. There are three functions that we are working on:parse_txt
Takes in a
.txt
file, reads using base Pythonwith open(...)
syntax, andparse_xml
normalize_line