Skip to main content

Türkçe Metin Analizi

Project description

Metin Analiz Programı

Verilen metin dosyasında geçen cümleleri, kelimeleri ve heceleri analiz ederek YOD değerini bulur.

YOD Formülü

OKS = Toplam Kelime Sayısı / Toplam Cümle Sayısı

H3 = 3 Heceli Kelime Sayısı / Toplam Cümle Sayısı

H4 = 4 Heceli Kelime Sayısı / Toplam Cümle Sayısı

H5 = 5 Heceli Kelime Sayısı / Toplam Cümle Sayısı

H6 = 6 Heceli Kelime Sayısı / Toplam Cümle Sayısı

YOD = math.sqrt(OKS * ((H3 * 0.84) + (H4 * 1.5) + (H5 * 3.5) + (H6 * 26.25)))

Kullanım

analiz.py ornekler/metin1.txt > sonuclar/metin1.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metinanaliz-1.1.6.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metinanaliz-1.1.6-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file metinanaliz-1.1.6.tar.gz.

File metadata

  • Download URL: metinanaliz-1.1.6.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for metinanaliz-1.1.6.tar.gz
Algorithm Hash digest
SHA256 af17d8a628553adc49183d606c12574f715c0d3cfa481ad8a7829623c6d45e75
MD5 e43ce173aac82ff32c64f10df89ba2d7
BLAKE2b-256 1ed0a66c7ece147cd28d1a45a4ea9a3293331150162786c0473624914da23ed3

See more details on using hashes here.

File details

Details for the file metinanaliz-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: metinanaliz-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for metinanaliz-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 940661211c979948db6eece4b16eb777d11029841bf160384c18bbfcc3e27b6c
MD5 2bcac6880085d3d49f4f1e87ac9b80fb
BLAKE2b-256 cf64e7fe2e7eb35f302a2cb798150e5a219f5ff2b7d5cb8952f4c5b46db9cb98

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page