<commit_before>#
# Copyright (C) 2015-2017 <NAME>  <<EMAIL>>
#
# This source code is licensed under the GNU lesser general public license,
# Version 3.  See the file COPYING for more details

module Languages

  # @abstract Class responsible for handling namespaces, module, package or
  # anything similar.
  class ModuleNamespace

    public

      # Get a string and try to find a pattern, that match or not with module.
      # @param pLine Receives a line for try to find module inside it.
      # @return Return an ModuleNamespaceData.
      def get_module(pLine)
        raise NotImplementedError
      end

    protected

      # Verify if line has a potential module.
      # @param pLine String for try to find a pattern.
      # @return Return an string pre-processed, or nil in case of not match
      #         string.
      def detect_module(pLine)
        raise NotImplementedError
      end

      # @param pLine Receives a line for handling.
      # @return Return an string.
      def remove_unnecessary_information(pLine)
        raise NotImplementedError
      end

  # class
  end

# Languages module
end<commit_msg>Fixed rubocop errors on lib/kuniri/language/abstract_container/structured_and_oo/module_namespace.rb<commit_after>#
# Copyright (C) 2015-2017 <NAME>  <<EMAIL>>
#
# This source code is licensed under the GNU lesser general public license,
# Version 3.  See the file COPYING for more details

module Languages

  # @abstract Class responsible for handling namespaces, module, package or
  # anything similar.
  class ModuleNamespace
    # Get a string and try to find a pattern, that match or not with module.
    # @param pLine Receives a line for try to find module inside it.
    # @return Return an ModuleNamespaceData.
    def get_module(_pLine)
      raise NotImplementedError
    end

    protected

    # Verify if line has a potential module.
    # @param pLine String for try to find a pattern.
    # @return Return an string pre-processed, or nil in case of not match
    #         string.
    def detect_module(_pLine)
      raise NotImplementedError
    end

    # @param pLine Receives a line for handling.
    # @return Return an string.
    def remove_unnecessary_information(_pLine)
      raise NotImplementedError
    end
  end # class
end # Languages module
{'fraction_non_alphanumeric': 0.05365642578970143, 'fraction_numerical': 0.007788836001730853, 'mean_word_length': 2.9054054054054053, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2407287', 'n_tokens_mistral': 650, 'n_tokens_neox': 621, 'n_words': 272}