<commit_before>require "docker/api/container"
require "docker/api/container_change"
require "docker/api/container_create_response"
require "docker/api/container_top_response"
require "docker/api/container_updated_response"

module Docker
  module Api
    module Resources
      module Containers
        # List containers
        # GET /containers/json
        def containers(params = {})
          response = get('/containers/json', params)
          (response || []).collect { |c| Container.parse(self, c) }
        end

        # Create a container
        # POST /containers/create
        def container_create(config, params = {})
          response = post_json('/containers/create', params, config)
          ContainerCreateResponse.parse(self, response)
        end<commit_msg>Fix typo<commit_after>require "docker/api/container"
require "docker/api/container_change"
require "docker/api/container_create_response"
require "docker/api/container_top_response"
require "docker/api/container_update_response"

module Docker
  module Api
    module Resources
      module Containers
        # List containers
        # GET /containers/json
        def containers(params = {})
          response = get('/containers/json', params)
          (response || []).collect { |c| Container.parse(self, c) }
        end

        # Create a container
        # POST /containers/create
        def container_create(config, params = {})
          response = post_json('/containers/create', params, config)
          ContainerCreateResponse.parse(self, response)
        end
{'fraction_non_alphanumeric': 0.0998719590268886, 'fraction_numerical': 0.0, 'mean_word_length': 2.9075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '352416', 'n_tokens_mistral': 421, 'n_tokens_neox': 410, 'n_words': 96}