Skip to main content

A high-performance Serbian stemming library supporting both Cyrillic and Latin scripts (Ekavica).

Project description

Serb-Stem 🇷🇸⚡

Serb-Stem Header

Rust Python WebAssembly License

„Ponuda koju tvoj NLP procesor ne može da odbije.“

Prestanite da gubite vreme na spora, neprecizna rešenja koja "pucaju" na ćirilici. Serb-Stem nije samo biblioteka — to je nepravedna prednost za tvoj pretraživač.

✨ Šta dobijaš (The Grand Slam Offer)

  • 🚀 Brzina Svetlosti (<1µs Latency): Dok drugi učitavaju rečnike, ti si već ostemovao celu bazu. Rust motor radi na metalu — bez smeća, bez čekanja.
  • 🎯 Hirurška Preciznost (98.35% Acc): Naš algoritam ne nagađa. On poznaje srpsku gramatiku bolje od tvoje profesorke iz srednje.
  • 💪 Universal Script Engine: Ćirilica? Latinica? Ijekavica? Serb-Stem sve žvaće i izbacuje savršen ekavski koren spreman za indeksiranje.
  • 🏗️ Zero-Effort Integration: pip install i gotov si. Nema kompajliranja, nema zavisnosti, nema glavobolje.

📉 Jednačina Vrednosti (Value Equation)

  • Dream Outcome: Savršena pretraga i analiza srpskog teksta u realnom vremenu.
  • Likelihood of Success: 98.35% verifikovan korpus + Rust memorijska sigurnost.
  • Time Delay: NULA. Od instalacije do prvog stem() poziva treba ti 30 sekundi. Latencija obrade je bukvalno nevidljiva.
  • Effort & Sacrifice: NULA. Handling oba pisma i ekavizaciju radimo mi. Ti samo šalješ stringove.

🛠️ Instalacija i Korišćenje

🐍 Python

pip install serb-stem
import serb_stem

# Latino ulaz
print(serb_stem.stem_py("knjigama"))  # Output: "knjig"

# Ćirilični ulaz
print(serb_stem.stem_py("књигама"))  # Output: "књиг"

# Ekavizacija (mlijeko -> mlek)
print(serb_stem.stem_py("mlijeka"))   # Output: "mlek"

🦀 Rust

use serb_stem::stem;

let result = stem("učenici");
assert_eq!(result, "učenik");

🌐 Interaktivni Demo

Isprobajte Serb-Stem uživo, direktno u vašem browseru: 👉 https://ja1denis.github.io/Serb-Stem/

Portal je izrađen pomoću React-a i Vite-a, a pokreće ga isti onaj ultra-brzi Rust WASM engine koji koristite u produkciji.

📜 Licenca

Ovaj projekat je licenciran pod AGPL-3.0 licencom.


Developed with ❤️ by Ja1Denis & Antigravity AI

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

serb_stem-0.1.3.tar.gz (785.8 kB view details)

Uploaded Source

Built Distribution

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

serb_stem-0.1.3-cp311-cp311-win_amd64.whl (105.4 kB view details)

Uploaded CPython 3.11Windows x86-64

File details

Details for the file serb_stem-0.1.3.tar.gz.

File metadata

  • Download URL: serb_stem-0.1.3.tar.gz
  • Upload date:
  • Size: 785.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for serb_stem-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6ab00dce3dee29a4b8072cdc206646365d611e0d39b858fa878779a4159f8fb0
MD5 623e2c9f1214b9d0292310b4290f5774
BLAKE2b-256 3ab664d9534e6e6848772521e53d227a4926fd267bde4d777446ee2470553044

See more details on using hashes here.

File details

Details for the file serb_stem-0.1.3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for serb_stem-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 569dabce72623f52b4d6f2cd10b38b38c9602c2a74e46a44a0fc730ac1995482
MD5 021e4adb492d7aa9d0bc6501a7e26db7
BLAKE2b-256 900cebd5f019b01a76cd7d1ec16ececc760a1e5d8514248cdc4df4294e43f476

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