<commit_before>Some Scripts
============

### comments.sh

`comments.sh` - it's used to generate author and problem description comments 

1) Create a file named largestNumber.cpp, and add Copyright & Problem description
```
./comments.sh https://oj.leetcode.com/problems/largest-number/
```

2) Add Copyright & Problem description into existed file
```
./comments.sh https://oj.leetcode.com/problems/largest-number/ largestNumber.cpp
```

The comments would be generated by above examples as below:

```
// Source : https://oj.leetcode.com/problems/largest-number/
// Author : <NAME>
// Date   : 2015-01-25

/**********************************************************************************
 *<commit_msg>update scripts' readme and fix #50<commit_after>Some Scripts
============

### comments.sh

`comments.sh` - it's used to generate author and problem description comments 

> **Notes**: The  `comments.sh`  needs [xidel](http://videlibri.sourceforge.net/xidel.html) to parse the html and grabe the contents without any HTML tags. The script  would check  xidel  whether installed or not in your Linux box, if not, it will download the [Universal Linux Version](http://videlibri.sourceforge.net/xidel.html#downloads) . 

1) Create a file named largestNumber.cpp, and add Copyright & Problem description
```
./comments.sh https://oj.leetcode.com/problems/largest-number/
```

2) Add Copyright & Problem description into existed file
```
./comments.sh https://oj.leetcode.com/problems/largest-number/ largestNumber.cpp
```

The comments would be generated by above examples as below:

```
// Source : https://oj.leetcode.com/problems/largest-number/
// Author : <NAME>
// Date   : 2015-01-25

/**********************************************************************************
 *
{'fraction_non_alphanumeric': 0.2201010668163953, 'fraction_numerical': 0.012352610892756879, 'mean_word_length': 4.586206896551724, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '719662', 'n_tokens_mistral': 532, 'n_tokens_neox': 481, 'n_words': 150}