[package]
name = "tfidf-text-summarizer"
description = "Implementation of an extractive text summarization system which uses TF-IDF scores of words present in the text to rank sentences and generate a summary"
homepage = "https://github.com/shubham0204/tfidf-summarizer-rs"
repository = "https://github.com/shubham0204/tfidf-summarizer-rs"
version = "0.0.3"
edition = "2021"
readme = "README.md"
license-file = "LICENSE"
keywords = [ "text-summarization" , "nlp" , "tf-idf" ]
exclude = [
    ".github",
    "examples" , 
    "build_android.sh"
]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
name = "summarizer"
crate_type = [ "cdylib" , "staticlib" , "rlib" ]

[dependencies]
punkt = "1.0.5"
rayon = "1.8"
jni = { version = "0.21.1" , optional = true }

[features]
android = [ "dep:jni" ]