<commit_before>HW2
<NAME>
==================

**** Usage ****
At command line:
$ python CalCalc.py -s 'expression to be evaluated here'
#Include the -W flag to force use of Wolfram Alpha for your query

In Python environment:
from CalCalc import calculate
calculate('expression to be evaluated here', use_wolfram=False)
# set use_wolfram = True to force use of Wolfram Alpha for your query

Tests check:
* Ability to evaluate simple expressions
* Ability to defer to Wolfram Alpha for un-parseable queries
* Ability to specify a Wolfram Alpha search
* Ability to return strings
* Ability to return ints<commit_msg>updated README.txt<commit_after>HW2
<NAME>
==================

**** Usage ****
At command line:
$ python CalCalc.py -s 'expression to be evaluated here'
#Include the -W flag to force use of Wolfram Alpha for your query

In Python environment:
from CalCalc import calculate
calculate('expression to be evaluated here', use_wolfram=False)
# set use_wolfram = True to force use of Wolfram Alpha for your query

Tests check:
* Ability to evaluate simple expressions
* Ability to defer to Wolfram Alpha for un-parseable queries
* Ability to specify a Wolfram Alpha search
* Ability to return strings
* Ability to return ints

Note:
It is a deliberate design decision to *not* parse out the numerical part of a Wolfram Alpha query such as "mass of moon in kg," in order to preserve access to the more interesting Wolfram Alpha queries, which should return strings.
{'fraction_non_alphanumeric': 0.08084239130434782, 'fraction_numerical': 0.001358695652173913, 'mean_word_length': 4.963562753036437, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3052654', 'n_tokens_mistral': 414, 'n_tokens_neox': 404, 'n_words': 208}