<commit_before># URLx
[Golang](http://golang.org/) pkg for parsing, normalization and validation of URLs. Unlike `net/url`, it favors absolute paths over relative paths (`"example.com"` is parsed as `url.Domain`, not as `url.Path`).

[![GoDoc](https://godoc.org/github.com/goware/urlx?status.png)](https://godoc.org/github.com/goware/urlx)
[![Travis](https://travis-ci.org/goware/urlx.svg?branch=master)](https://travis-ci.org/goware/urlx)

## Usage

```go
url := urlx.Parse("example.com")

fmt.Println(url)
// Prints http://example.com
```

```go
url := urlx.Parse("localhost:8080/ping")

fmt.Println(url)
// Prints http://localhost:8080/ping
```

## License
URLx is licensed under the [MIT License](./LICENSE).<commit_msg>Fix README, we don't have Parse() for now<commit_after># URLx
[Golang](http://golang.org/) pkg for parsing, normalization and validation of URLs. Unlike `net/url`, it favors absolute paths over relative paths (`"example.com"` is parsed as `url.Domain`, not as `url.Path`).

[![GoDoc](https://godoc.org/github.com/goware/urlx?status.png)](https://godoc.org/github.com/goware/urlx)
[![Travis](https://travis-ci.org/goware/urlx.svg?branch=master)](https://travis-ci.org/goware/urlx)

## Usage

```go
url := urlx.NormalizeString("example.com")

fmt.Println(url)
// Prints http://example.com
```

```go
url := urlx.NormalizeString("localhost:8080/ping")

fmt.Println(url)
// Prints http://localhost:8080/ping
```

## License
URLx is licensed under the [MIT License](./LICENSE).
{'fraction_non_alphanumeric': 0.19786096256684493, 'fraction_numerical': 0.0106951871657754, 'mean_word_length': 4.940476190476191, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '5020761', 'n_tokens_mistral': 565, 'n_tokens_neox': 527, 'n_words': 108}