<commit_before>/**
 * This module provides a simple templating system for Rowan using
 * Javascript's eval() to run code interleaved with the template.
 * The syntax is inspired by Django / Jinja - double curly braces
 * indicate a variable (something that will evaluate to a value),
 * and {% ... %} indicates something more complex - in our case a chunk
 * of javascript code.
 *
 * The final template is a compiled function which can be run on an object
 * of data. The properties in that object are the names that the template
 * can refer to.
 *
 * H/T: The micro-templating approach used in this code was inspired by
 * a blog post by <NAME> at
 * http://ejohn.org/blog/javascript-micro-templating/
 */
/*
 * Part of the Rowan Microframework.
 * Copyright (c) 2009 <NAME>. See the LICENSE file for details.
 */

var sys = require('sys');
var fs = require('fs');
var core = require('./core');

var template_cache = {};
<commit_msg>Modified template documentation to hint at possible future deprecation.<commit_after>/**
 * This module provides a simple templating system for Rowan using
 * Javascript's eval() to run code interleaved with the template.
 * The syntax is inspired by Django / Jinja - double curly braces
 * indicate a variable (something that will evaluate to a value),
 * and {% ... %} indicates something more complex - in our case a chunk
 * of javascript code.
 *
 * The final template is a compiled function which can be run on an object
 * of data. The properties in that object are the names that the template
 * can refer to.
 *
 * H/T: The micro-templating approach used in this code was inspired by
 * a blog post by <NAME> at
 * http://ejohn.org/blog/javascript-micro-templating/
 *
 * This approach should be considered to be a 'toy'
 * implementation. For more general and well-supported template
 * consider a focussed Javascript templating system, such as JSON
 * Template.
 */
/*
 * Part of the Rowan Microframework.
 * Copyright (c) 2009 <NAME>. See the LICENSE file for details.
 */

var sys = require('sys');
var fs = require('fs');
var core = require('./core');

var template_cache = {};

{'fraction_non_alphanumeric': 0.09304511278195489, 'fraction_numerical': 0.0037593984962406013, 'mean_word_length': 3.6182212581344904, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7012243', 'n_tokens_mistral': 587, 'n_tokens_neox': 554, 'n_words': 288}