<commit_before>// This file is part of Poseidon.
// Copyleft 2020, LH_Mouse. All wrongs reserved.

#ifndef POSEIDON_CORE_URL_HPP_
#define POSEIDON_CORE_URL_HPP_

#include "../fwd.hpp"

namespace poseidon {

class URL
  {
  private:
    /*            http://user@example.com:80/path/to/document?foo=1&bar=2#location
     *            ^~~~   ^~~~ ^~~~~~~~~~~ ^~ ^~~~~~~~~~~~~~~~ ^~~~~~~~~~~ ^~~~~~~~
     * scheme   --/      |    |           |  |                |           |
     * userinfo ---------/    |           |  |                |           |
     * host     --------------/           |  |                |           |
     * port     --------------------------/  |                |           |
     * path     -----------------------------/                |           |
     * query    ----------------------------------------------/           |
     * fragment ----------------------------------------------------------/
    **/
    cow_string m_scheme;<commit_msg>core/url: Update comments<commit_after>// This file is part of Poseidon.
// Copyleft 2020, LH_Mouse. All wrongs reserved.

#ifndef POSEIDON_CORE_URL_HPP_
#define POSEIDON_CORE_URL_HPP_

#include "../fwd.hpp"

namespace poseidon {

class URL
  {
  private:
    /* http://user@example.com:80/path/to/document?foo=1&bar=2#location
     * ~~~~   ~~~~ ~~~~~~~~~~~ ~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~
     *    \      \ /           /  /                /           /
     * scheme    | |           |  |                |           |
     * userinfo -+ |           |  |                |           |
     * host     ---+           |  |                |           |
     * port     ---------------+  |                |           |
     * path     ------------------+                |           |
     * query    -----------------------------------+           |
     * fragment -----------------------------------------------+
    **/
    cow_string m_scheme;
{'fraction_non_alphanumeric': 0.30218068535825543, 'fraction_numerical': 0.008307372793354102, 'mean_word_length': 0.7407407407407407, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 13, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6242297', 'n_tokens_mistral': 541, 'n_tokens_neox': 505, 'n_words': 69}