<commit_before># watson-perl  
### an inline issue manager
[watson](http://goosecode.com/watson) ([mirror](http://nhmood.github.io/watson-perl)) is a tool for creating and tracking bug reports, issues, and internal notes in code.    
It is avaliable in two flavors, [watson-ruby](http://github.com/nhmood/watson-ruby) and [watson-perl](http://github.com/watson-perl)

### See watson in action [here](http://goosecode.com/watson) ([mirror](http://nhmood.github.io/watson-perl))

## Installation
watson-perl has been tested with **Perl v5.18.1** (on **Arch Linux**)  
watson-perl is self contained in a single file and has **no** CPAN dependencies.  

### From Repo  
The easiest way to get watson-perl is probably...
```
# Download watson to current directory with wget
# and set watson to executable
wget -O http://github.com/nhmood/watson-perl/watson perl
sudo chmod +x watson 

# OR Download watson to current directory with curl
# and set watson to executable
curl http://github.com/nhmood/watson-perl/watson-perl 
sudo chmod +x watson 

# Copy watson-perl to /usr/bin, which is most likely in your PATH
sudo cp watson-perl /usr/bin

# OR make a soft link to it into /usr/bin
sudo ln -s watson-perl /usr/bin

```
You could clone the repo and then perform the linking step so all you need to do to update watson-perl is a ```git pull``` to stay up to date without having to redownload.  


### Script Install (Coming soon...)  
There will probably be a install script in the style of ``` wget link-to-script | sh ``` at some point.  
Some people aren't a fan of this but it is the most convinient. Feel free to implement this and submit a pull request!


## Usage
For a quick idea of how to use watson, check out the [app demo](http://goosecode.com/watson)! ([mirror](http://nhmood.github.io/watson-perl))   
See below for a description of what all the command line arguments do.

## Command line arguments
```
Usage: watson [OPTION]...
Running watson with no arguments will parse with settings in RC file
If no RC file exists, default RC file will be created

   -d, --dirs                   list of directories to search in
   -f, --files                  list of files to search in
   -h, --help                   print help
   -i, --ignore                 list of files, directories, or types to ignore
   -p, --parse-depth            depth to recursively parse directories<commit_msg>fix README.md wget and curl error<commit_after># watson-perl  
### an inline issue manager
[watson](http://goosecode.com/watson) ([mirror](http://nhmood.github.io/watson-perl)) is a tool for creating and tracking bug reports, issues, and internal notes in code.    
It is avaliable in two flavors, [watson-ruby](http://github.com/nhmood/watson-ruby) and [watson-perl](http://github.com/watson-perl)

### See watson in action [here](http://goosecode.com/watson) ([mirror](http://nhmood.github.io/watson-perl))

## Installation
watson-perl has been tested with **Perl v5.18.1** (on **Arch Linux**)  
watson-perl is self contained in a single file and has **no** CPAN dependencies.  

### From Repo  
The easiest way to get watson-perl is probably...
```
# Download watson to current directory with wget
# and set watson to executable
wget https://raw.github.com/nhmood/watson-perl/master/watson -O watson
sudo chmod +x watson 

# OR Download watson to current directory with curl
# and set watson to executable
curl curl http://github.com/nhmood/watson-perl/watson-perl -o watson
sudo chmod +x watson 

# Copy watson to /usr/bin, which is most likely in your PATH
sudo cp watson /usr/bin

# OR make a soft link to it into /usr/bin
sudo ln -s watson /usr/bin

```
You could clone the repo and then perform the linking step so all you need to do to update watson-perl is a ```git pull``` to stay up to date without having to redownload.  


### Script Install (Coming soon...)  
There will probably be a install script in the style of ``` wget link-to-script | sh ``` at some point.  
Some people aren't a fan of this but it is the most convinient. Feel free to implement this and submit a pull request!


## Usage
For a quick idea of how to use watson, check out the [app demo](http://goosecode.com/watson)! ([mirror](http://nhmood.github.io/watson-perl))   
See below for a description of what all the command line arguments do.

## Command line arguments
```
Usage: watson [OPTION]...
Running watson with no arguments will parse with settings in RC file
If no RC file exists, default RC file will be created

   -d, --dirs                   list of directories to search in
   -f, --files                  list of files to search in
   -h, --help                   print help
   -i, --ignore                 list of files, directories, or types to ignore
   -p, --parse-depth            depth to recursively parse directories
{'fraction_non_alphanumeric': 0.1023883696780893, 'fraction_numerical': 0.0016614745586708203, 'mean_word_length': 3.16969696969697, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, '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': '6971710', 'n_tokens_mistral': 1543, 'n_tokens_neox': 1379, 'n_words': 631}