<commit_before># ofx-tools

## Running in CLI

```
$ sbt runMain net.shiroka.tools.ofx.<class-name> <account-number> <input-file> <output-location>
```

Example:

```
sbt runMain net.shiroka.tools.ofx.ShinseiBankOfxGeneration 6300215825 src/test/resources/shinsei-bank.txt target/out.ofx
```

## Deploying to AWS Lambda

```
sbt> assembly
```

Upload the fat-jar and set `net.shiroka.tools.ofx.aws.Lambda::handler` as an entry point.
<commit_msg>Add readme on runMain and sample file<commit_after># ofx-tools

## Running in CLI

```
$ sbt runMain net.shiroka.tools.ofx.<class-name> <account-number> <input-file> <output-location>
```

Example:

```
$ sbt runMain net.shiroka.tools.ofx.ShinseiBankOfxGeneration 6300215825 src/test/resources/shinsei-bank.txt target/out.ofx
```

## Deploying to AWS Lambda

```
sbt> assembly
```

Upload the fat-jar and set `net.shiroka.tools.ofx.aws.Lambda::handler` as an entry point.

{'fraction_non_alphanumeric': 0.14923747276688454, 'fraction_numerical': 0.02178649237472767, 'mean_word_length': 4.672839506172839, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '3561398', 'n_tokens_mistral': 378, 'n_tokens_neox': 345, 'n_words': 74}