<commit_before>module TaxonDescribers
  class Janium < Base

    def self.describer_name
      'Bioteca'
    end

    def self.describe(taxon)
      if cat = taxon.present?
        name_to_find = taxon.id
        Rails.logger.debug "[DEBUG] JANIUM buscará #{name_to_find}"
        page = janium_service.search(name_to_find)
        page.text.blank? ? nil : page

      end
    end

    private
    def janium_service<commit_msg>bioteca CONABIO en acerca de<commit_after>module TaxonDescribers
  class Janium < Base

    def self.describer_name
      '<NAME>'
    end

    def self.describe(taxon)
      if cat = taxon.present?
        name_to_find = taxon.id
        Rails.logger.debug "[DEBUG] JANIUM buscará #{name_to_find}"
        page = janium_service.search(name_to_find)
        page.text.blank? ? nil : page

      end
    end

    private
    def janium_service
{'fraction_non_alphanumeric': 0.07816091954022988, 'fraction_numerical': 0.0, 'mean_word_length': 2.4156862745098038, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 4, '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': '6324890', 'n_tokens_mistral': 305, 'n_tokens_neox': 290, 'n_words': 65}