<commit_before>#FASE-WP

##(Filter and Action Syntax Extractor for WordPress)

This package is designed to traverse and arbitrary folder and find all instances of WordPress `apply_filters` `do_action` and `do_action_ref_array` with HTML, JSON or plain text output. Output is directed to the console and shoudl be redirected for capturing. 

This project is very much "alpha" and still in very early development.

**Current Version:** 0.15 (2014-01-13)

## Invoking

> php extract.php [options]

### Options

Some options, such as the directory, are required. The following options are available:

	-d 	path to the directory to traverse. REQUIRED

	-f 	File Types, comma separated (no spaces). Defaults to 'php,inc'.

	-t 	Output Type. HTML, JSON or text. Defaults to HTML. Invalid goes to default.

	-v 	Verbose mode, no parameters - turns on verbose reporting

## Immediate TODO

- Add proper processing and output formatting for `add_action` and `add_filter`

## Planned Features

- Split output into multiple files
	- broken down by actions, filters, files
- Speficiy a single file for output on the command line
- Override CSS styling for HTML 
<commit_msg>change README<commit_after>#FASE-WP

##(Filter and Action Syntax Extractor for WordPress)

This package is designed to traverse and arbitrary folder and find all instances of WordPress `apply_filters` `do_action` and `do_action_ref_array` with HTML, JSON or plain text output. Output is directed to the console and shoudl be redirected for capturing. 

This project is very much "alpha" and still in very early development.

**Current Version:** 0.15 (2014-01-13)

## Invoking

> php extract.php [options]

### Options

Some options, such as the directory, are required. The following options are available:

	-d 	path to the directory to traverse. REQUIRED

	-f 	File Types, comma separated (no spaces). Defaults to 'php,inc'.

	-t 	Output Type. HTML, JSON or text. Defaults to HTML. Invalid goes to default.

	-v 	Verbose mode, no parameters - turns on verbose reporting

## Immediate TODO

- Override CSS styling for HTML 

## Planned Features

- Split output into multiple files
	- broken down by actions, filters, files
- Speficiy a single file for output on the command line

{'fraction_non_alphanumeric': 0.06824264049955397, 'fraction_numerical': 0.009812667261373774, 'mean_word_length': 4.097727272727273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2287019', 'n_tokens_mistral': 666, 'n_tokens_neox': 617, 'n_words': 313}