<commit_before>require 'addressable/uri'

module RDF
  ##
  # A Uniform Resource Identifier (URI).
  #
  # @example Creating a URI reference
  #   uri = RDF::URI.new("http://rdf.rubyforge.org/")
  #
  # @example Getting the string representation of a URI
  #   uri.to_s #=> "http://rdf.rubyforge.org/"
  #
  # @see http://en.wikipedia.org/wiki/Uniform_Resource_Identifier
  # @see http://addressable.rubyforge.org/
  class URI < Node
    ##
    # @param  [String] uri
    # @return [URI]
    def self.parse(uri)
      self.new(uri)
    end

    ##
    # @overload uri(uri)
    #   @param  [URI, String, #to_s]    uri<commit_msg>Update URI docs to specifically note addressable delegation<commit_after>require 'addressable/uri'

module RDF
  ##
  # A Uniform Resource Identifier (URI).
  #
  # RDF::URIs support all methods available for {Addressable::URI}.
  #
  # @example Creating a URI reference
  #   uri = RDF::URI.new("http://rdf.rubyforge.org/")
  #
  # @example Getting the string representation of a URI
  #   uri.to_s #=> "http://rdf.rubyforge.org/"
  #
  # @see http://en.wikipedia.org/wiki/Uniform_Resource_Identifier
  # @see http://addressable.rubyforge.org/
  class URI < Node
    ##
    # @param  [String] uri
    # @return [URI]
    def self.parse(uri)
      self.new(uri)
    end

    ##
    # @overload uri(uri)
    #   @param  [URI, String, #to_s]    uri
{'fraction_non_alphanumeric': 0.1433770014556041, 'fraction_numerical': 0.0, 'mean_word_length': 2.798342541436464, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '4399329', 'n_tokens_mistral': 499, 'n_tokens_neox': 478, 'n_words': 111}