<commit_before>{% set name = "py-readability-metrics" %}
{% set version = "1.4.5" %}


package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/py-readability-metrics-{{ version }}.tar.gz
  sha256: 465b7ffa1063f2448bf791dac50f9117d8c2bf06d931bbb0955606e14c4b3ddc

build:
  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - python >=3.4
  run:
    - nltk
    - python >=3.4

test:
  imports:
    - readability
    - readability.exceptions
  commands:
    - pip check
    - python -m nltk.downloader punkt
    - python -m unittest discover -v
  requires:
    - pip
  source_files:
    test

about:
  home: https://github.com/cdimascio/py-readability-metrics
  summary: Score text "Readability" with popular formulas and metrics including Flesch-Kincaid, Gunning Fog, ARI, Dale Chall, SMOG, Spache and more
  license: MIT
  license_file: LICENSE
  doc_url: https://py-readability-metrics.readthedocs.io/en/latest/

extra:
  recipe-maintainers:
    - BastianZim<commit_msg>Update test<commit_after>{% set name = "py-readability-metrics" %}
{% set version = "1.4.5" %}


package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/py-readability-metrics-{{ version }}.tar.gz
  sha256: 465b7ffa1063f2448bf791dac50f9117d8c2bf06d931bbb0955606e14c4b3ddc

build:
  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - python >=3.4
  run:
    - nltk
    - python >=3.4

test:
  imports:
    - readability
    - readability.exceptions
  commands:
    - pip check
    - python -m nltk.downloader punkt
    - python -m unittest discover -v
  requires:
    - pip
  source_files:
    - test

about:
  home: https://github.com/cdimascio/py-readability-metrics
  summary: Score text "Readability" with popular formulas and metrics including Flesch-Kincaid, <NAME>, ARI, <NAME>, SMOG, Spache and more
  license: MIT
  license_file: LICENSE
  doc_url: https://py-readability-metrics.readthedocs.io/en/latest/

extra:
  recipe-maintainers:
    - BastianZim
{'fraction_non_alphanumeric': 0.1296043656207367, 'fraction_numerical': 0.04638472032742155, 'mean_word_length': 3.1044776119402986, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5615955', 'n_tokens_mistral': 881, 'n_tokens_neox': 823, 'n_words': 186}