<commit_before>A quick proof-of-concept code browser for the DC Code.

This is a much simpler and less feature-rich system that more developed
stuff like [The State Decoded](http://www.statedecoded.com/), but ideally
is either a proof-of-concept of a fully static approach or at least a useful
tool for proofing [our parser](https://github.com/openlawdc/dc-decoded).

This site takes a [static approach](http://macwright.org/2013/01/08/thinking-static.html)
to the task. There's no server, but there's a multitude of files. The
initial target for deployment is [Amazon S3](http://aws.amazon.com/s3/). The
site is deployed with [s3cmd](http://s3tools.org/) and takes about 16,000
`PUT` requests to go live.

CloudFront dist: http://d1eu6ip9xyd6yj.cloudfront.net/<commit_msg>Add precook<commit_after>A quick proof-of-concept code browser for the DC Code.

This is a much simpler and less feature-rich system that more developed
stuff like [The State Decoded](http://www.statedecoded.com/), but ideally
is either a proof-of-concept of a fully static approach or at least a useful
tool for proofing [our parser](https://github.com/openlawdc/dc-decoded).

This site takes a [static approach](http://macwright.org/2013/01/08/thinking-static.html)
to the task. There's no server, but there's a multitude of files. The
initial target for deployment is [Amazon S3](http://aws.amazon.com/s3/). The
site is deployed with [s3cmd](http://s3tools.org/) and takes about 16,000
`PUT` requests to go live.

CloudFront dist: http://d1eu6ip9xyd6yj.cloudfront.net/

## Precook

Early versions of the results of this code:

The most useful output so far is [JSON sections (zipped)](https://dl.dropbox.com/u/68059/dccode/sections.zip) (21MB) -
16,569 detected sections (detected with `parse.js`) output into JSON.
These are fast to generate but downloading them lets you skip the Word Doc
to Text to Parsed workflow.
{'fraction_non_alphanumeric': 0.10348468848996832, 'fraction_numerical': 0.028511087645195353, 'mean_word_length': 4.476878612716763, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4450270', 'n_tokens_mistral': 619, 'n_tokens_neox': 570, 'n_words': 230}