<commit_before>open Core.Std
open Async.Std

include Phat_pure.Phat_path

let abs_file_of_any ?base_dir x : abs_file Or_error.t Deferred.t =
  match file_of_any_kind x with<commit_msg>async-unix/phat_path.ml: document why mli not provided<commit_after>(* We don't provide a corresponding mli because of
   {{:https://sympa.inria.fr/sympa/arc/caml-list/2015-11/msg00002.html}this}.
   The workaround would require manually copying too much code. *)
open Core.Std
open Async.Std

include Phat_pure.Phat_path

let abs_file_of_any ?(base_dir:abs_dir option) (x:string)
  : abs_file Or_error.t Deferred.t
  =
  match file_of_any_kind x with
{'fraction_non_alphanumeric': 0.08976377952755905, 'fraction_numerical': 0.01732283464566929, 'mean_word_length': 4.888888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '4010117', 'n_tokens_mistral': 246, 'n_tokens_neox': 233, 'n_words': 58}