<commit_before># Alternate ways of passing the API credentials include:

## Pass credentials via a `yaml` file        
        
Create a file called `interfax-api-credentials.yaml` with the following
contents, replacing the value of `username` and `password` fields with
those of your API credentials.

    username: "api-username"
    password: "<PASSWORD>"
    
Ensure the file is present in your applications classpath. Next, 
initialise a new `InterFAXClient` as shown below.

    InterFAXClient interFAXClient = new InterFAXJerseyClient();
    
## Pass credentials via environment variables

Copy the file [`interfax-api-credentials.yaml`](../src/test/resources/interfax-api-credentials.yaml)
into your applications' classpath. The file is pre-configured to use
values of the following environment variables as the API credentials.

    INTERFAX_USERNAME
    INTERFAX_PASSWORD

Make the api credentials available via the environment variables
mentioned above and initialise a new `InterFAXClient` as shown below. 
 
    InterFAXClient interFAXClient = new InterFAXJerseyClient();
    
    <commit_msg>Improve readme formatting and fix some info<commit_after># Alternate ways of passing the API credentials include:

## Pass credentials via a `yaml` file        
        
Create a file called `interfax-api-credentials.yaml` with the following contents, replacing the value of `username` and 
`password` fields with those of your API credentials.

    username: "api-username"
    password: "<PASSWORD>"
    
Ensure the file is present in your application's classpath. Next, initialise a new `InterFAX` class as shown below.

```java
InterFAX interFAX = new DefaultInterFAXClient();
```
    
## Pass credentials via environment variables

Copy the file [`interfax-api-credentials.yaml`](../src/test/resources/interfax-api-credentials.yaml) into your 
application's classpath. The file is pre-configured to use values of the following environment variables as the API 
credentials.

    INTERFAX_USERNAME
    INTERFAX_PASSWORD

Make the api credentials available via the environment variables
mentioned above and initialise a new `InterFAX` class as shown below. 
 
```java 
InterFAX interFAX = new DefaultInterFAXClient();
```
    
    
{'fraction_non_alphanumeric': 0.06741071428571428, 'fraction_numerical': 0.0, 'mean_word_length': 4.139908256880734, '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': '231578', 'n_tokens_mistral': 617, 'n_tokens_neox': 586, 'n_words': 244}