<commit_before>(*** hide ***)
// This block of code is omitted in the generated HTML documentation. Use 
// it to define helpers that you do not want to show in the documentation.
#I "../../bin"

(**
# Pfarah

<div class="row">
  <div class="span1"></div>
  <div class="span6">
    <div class="well well-small" id="nuget">
      Pfarah can be <a href="https://nuget.org/packages/Pfarah">installed from NuGet</a>:
      <pre>PM> Install-Package Pfarah</pre>
    </div>
  </div>
  <div class="span1"></div>
</div>

## Getting Started

*)

#r "Pfarah.dll"
open Pfarah

// Parse strings. Great for discovering how to work with Pfarah or the sample
// data
let obj = ParaValue.Parse "foo=bar"
obj?foo |> asString<commit_msg>Include elevator pitch<commit_after>(*** hide ***)
// This block of code is omitted in the generated HTML documentation. Use 
// it to define helpers that you do not want to show in the documentation.
#I "../../bin"

(**
# Pfarah

Pfarah is an extremely fast and easy to use solution for parsing files created
by Clausewitz engine from Paradox Interactive

<div class="row">
  <div class="span1"></div>
  <div class="span6">
    <div class="well well-small" id="nuget">
      Pfarah can be <a href="https://nuget.org/packages/Pfarah">installed from NuGet</a>:
      <pre>PM> Install-Package Pfarah</pre>
    </div>
  </div>
  <div class="span1"></div>
</div>

## Getting Started

*)

#r "Pfarah.dll"
open Pfarah

// Parse strings. Great for discovering how to work with Pfarah or the sample
// data
let obj = ParaValue.Parse "foo=bar"
obj?foo |> asString
{'fraction_non_alphanumeric': 0.1487603305785124, 'fraction_numerical': 0.003814367450731087, 'mean_word_length': 3.5755813953488373, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 35, 'https://': 2, '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': '6922174', 'n_tokens_mistral': 532, 'n_tokens_neox': 519, 'n_words': 185}