<commit_before>## Quick Setup
Download the Tapestry SDK from the releases page.

Copy `tapestry-X-X-X.jar` into the `libs` folder of your Android project.

Add your Tapestry Partner Id and permissions into the `AndroidManifest.xml` of your application:
```xml
    <!-- Optional permissions for detecting phone's connectivity and caching requests when offline -->
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <!-- Permissions for accessing the phone's ids (at least one is required) -->
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

    <application>
        ...
      <!-- Your Tapestry partner id will be provided by Tapad -->
        <meta-data android:name="tapad.PARTNER_ID" android:value="1" />
    </application>

```

## Using Tapestry
Intialize the TapestryService prior to use, preferably in your `Application` or in every `Activity` that uses it:<commit_msg>remove unnecessary permissions from README<commit_after>## Quick Setup
Download the Tapestry SDK from the releases page.

Copy `tapestry-X-X-X.jar` into the `libs` folder of your Android project.

Add your Tapestry Partner Id and permissions into the `AndroidManifest.xml` of your application:
```xml
    <!-- Permissions for accessing the phone's ids (at least one is required) -->
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

    <application>
        ...
      <!-- Your Tapestry partner id will be provided by Tapad -->
        <meta-data android:name="tapad.PARTNER_ID" android:value="1" />
    </application>

```

## Using Tapestry
Intialize the TapestryService prior to use, preferably in your `Application` or in every `Activity` that uses it:
{'fraction_non_alphanumeric': 0.10978043912175649, 'fraction_numerical': 0.000998003992015968, 'mean_word_length': 4.063131313131313, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3447971', 'n_tokens_mistral': 568, 'n_tokens_neox': 532, 'n_words': 186}