<commit_before>[![Stories in Ready](https://badge.waffle.io/binoymichael/cmpe202-uml-parser.png?label=ready&title=Ready)](https://waffle.io/binoymichael/cmpe202-uml-parser)
# cmpe202-uml-parser
CMPE202 Project

# Install pre-requisites
sudo apt-get install default-jre
sudo apt-get install graphviz
sudo apt-get install aspectj
sudo apt-get install plotutils

# Download test file for class diagram
sudo apt-get install unzip
curl -LO https://www.dropbox.com/s/tt2lo4il5qwzwmn/test1.zip
mkdir input
unzip test1.zip -d input

# Download parser script
curl -LO https://www.dropbox.com/s/rj8b73br7x5kwgq/parser.tar.gz
mkdir parser
tar -xvzf parser.tar.gz -C parser

# Download test file for sequence diagram
curl -LO https://www.dropbox.com/s/h8lj7igox1ao8mn/sequence.zip
mkdir sequence
unzip sequence.zip -d sequence

# Draw class diagram
cd parser
./umlparser.sh ../input test1

# Draw sequence diagram
./umlparser.sh -s ../sequence sequencetest
<commit_msg>Formatting changes<commit_after>[![Stories in Ready](https://badge.waffle.io/binoymichael/cmpe202-uml-parser.png?label=ready&title=Ready)](https://waffle.io/binoymichael/cmpe202-uml-parser)
# cmpe202-uml-parser
CMPE202 Project

# Install pre-requisites
```
sudo apt-get install default-jre
sudo apt-get install graphviz
sudo apt-get install aspectj
sudo apt-get install plotutils
```

# Download test file for class diagram
```
sudo apt-get install unzip
curl -LO https://www.dropbox.com/s/tt2lo4il5qwzwmn/test1.zip
mkdir input
unzip test1.zip -d input
```

# Download parser script
```
curl -LO https://www.dropbox.com/s/rj8b73br7x5kwgq/parser.tar.gz
mkdir parser
tar -xvzf parser.tar.gz -C parser
```

# Download test file for sequence diagram
```
curl -LO https://www.dropbox.com/s/h8lj7igox1ao8mn/sequence.zip
mkdir sequence
unzip sequence.zip -d sequence
```

# Draw class diagram
```
cd parser
./umlparser.sh ../input test1
```

# Draw sequence diagram
```
./umlparser.sh -s ../sequence sequencetest
```

{'fraction_non_alphanumeric': 0.12201321809862735, 'fraction_numerical': 0.027452974072191154, 'mean_word_length': 4.466666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4950078', 'n_tokens_mistral': 767, 'n_tokens_neox': 702, 'n_words': 173}