<commit_before># Linkable Text Library

[![Github Release][release-image]][release-url]

You can download Linkable Text Sample application on Google Play.

[![Get it on Google Play](http://www.android.com/images/brand/get_it_on_play_logo_small.png)](https://play.google.com/store/apps/details?id=com.github.fobid.linkabletext.sample)

# Download
Download [the latest JAR](https://repo1.maven.org/maven2/com/github/fobid/linkabletext/0.1.1/linkabletext-0.1.1.aar) or grab via Maven:
```
<dependency>
  <groupId>com.github.fobid</groupId>
  <artifactId>linkable-text</artifactId>
  <version>0.1.1</version>
</dependency>
```
or Gradle:
```
compile 'com.github.fobid:linkable-text:0.1.1'
```

# Usage

# License
```<commit_msg>Added usage in README.md<commit_after># Linkable Text Library

[![Github Release][release-image]][release-url]

You can download Linkable Text Sample application on Google Play.

[![Get it on Google Play](http://www.android.com/images/brand/get_it_on_play_logo_small.png)](https://play.google.com/store/apps/details?id=com.github.fobid.linkabletext.sample)

# Download
Download [the latest JAR](https://repo1.maven.org/maven2/com/github/fobid/linkabletext/0.1.1/linkabletext-0.1.1.aar) or grab via Maven:
```
<dependency>
  <groupId>com.github.fobid</groupId>
  <artifactId>linkable-text</artifactId>
  <version>0.1.1</version>
</dependency>
```
or Gradle:
```
compile 'com.github.fobid:linkable-text:0.1.1'
```

# Usage
```
 <com.github.fobid.linkabletext.widget.LinkableTextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
```
If you don't want to set link, then add `app:enabledLinks="false"` in your xml.
Or, `LinkableTextView.setEnabledLinks(false)` in your code.

You must call `LinkableTextView.setOnLinkClickListener()` after `setText()` to set links  clickable.

# License
```
{'fraction_non_alphanumeric': 0.15993537964458804, 'fraction_numerical': 0.015078082929456112, 'mean_word_length': 5.2983050847457624, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5115402', 'n_tokens_mistral': 691, 'n_tokens_neox': 651, 'n_words': 116}