awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Text metric calculator

Ranking updated Jul 28, 2026

For text metric calculators, the strongest matches are nltk/nltk (NLTK is a comprehensive Python natural language processing toolkit), huggingface/evaluate (This repository provides a Python-based evaluation framework that supports) and google-research/bleurt (BLEURT is a Python-based evaluation library for natural language). tiiiger/bert_score and benhamner/metrics round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Hand-picked open-source text metric calculators. Compare top repositories for readability and analysis, and find the best fit.

Text metric calculator

Find the best repos with AI.We'll search the best matching repositories with AI.
  • nltk/nltknltk avatar

    nltk/nltk

    14,649View on GitHub↗

    This project is a comprehensive Python toolkit designed for natural language processing, research, and education. It functions as a linguistic data processor that provides a standardized framework for managing, cleaning, and analyzing large collections of annotated text corpora and lexical resources. The library distinguishes itself through its integration of both symbolic and statistical methods, allowing users to perform complex tasks ranging from rule-based grammar parsing to machine learning-driven classification. It offers a modular pipeline for text processing, enabling the transformati

    NLTK is a comprehensive Python natural language processing toolkit that includes modules for evaluating metrics like BLEU and measuring string similarity, though it serves a much broader linguistic processing scope than a dedicated evaluation library.

    PythonNatural Language ProcessingNatural Language Processing LibrariesClassification Frameworks
    View on GitHub↗14,649
  • huggingface/evaluatehuggingface avatar

    huggingface/evaluate

    2,455View on GitHub↗

    🤗 Evaluate: A library for easily evaluating machine learning models and datasets.

    This repository provides a Python-based evaluation framework that supports many standard NLP metrics like BLEU and ROUGE, making it a strong tool for your text evaluation needs although it requires additional task-specific modules for every metric.

    PythonEvaluation FrameworksModel EvaluationModel Evaluation and Benchmarking
    View on GitHub↗2,455
  • google-research/bleurtgoogle-research avatar

    google-research/bleurt

    791View on GitHub↗

    BLEURT is an evaluation metric for Natural Language Generation. It takes a pair of sentences as input, a reference and a candidate, and it returns a score that indicates to what extent the candidate is fluent and conveys the meaning of the reference. It is comparable to sentence-BLEU, BERTscore,…

    BLEURT is a Python-based evaluation library for natural language generation that computes neural similarity scores like BLEU and BERTscore, though it focuses on learned metrics rather than traditional readability or perplexity calculations.

    PythonEvaluation
    View on GitHub↗791
  • tiiiger/bert_scoreTiiiger avatar

    Tiiiger/bert_score

    1,903View on GitHub↗

    BERT Score is a text evaluation tool that assesses the quality of generated text by computing precision, recall, and F1 metrics between candidate and reference texts. It transforms text tokens into dense contextual vectors using pretrained transformer models, calculating token-level similarity matrices through pairwise cosine distances. The system computes scores by greedily matching tokens between sequences and supports multilingual assessment across dozens of different languages by utilizing language-specific or cross-lingual transformer backends. The library includes features for baseline

    This repository calculates BERT score for text generation, making it a relevant NLP evaluation metric tool despite focusing on semantic similarity rather than traditional n-gram metrics like BLEU or ROUGE.

    Jupyter NotebookQuality Evaluation FrameworksBERT Score ToolingContextual Embeddings
    View on GitHub↗1,903
  • benhamner/metricsbenhamner avatar

    benhamner/Metrics

    1,650View on GitHub↗

    Machine learning evaluation metrics, implemented in Python, R, Haskell, and MATLAB / Octave

    This repository provides machine learning evaluation metrics implemented in Python and other languages, but it focuses primarily on general classification and regression metrics rather than the specific NLP text evaluation metrics requested.

    PythonModel Evaluation
    View on GitHub↗1,650
  • maxbachmann/rapidfuzzmaxbachmann avatar

    maxbachmann/rapidfuzz

    3,958View on GitHub↗

    This is a Python fuzzy string matching library used for calculating string similarity and edit distances. It serves as a collection of string distance algorithms, a sequence alignment tool, and an approximate string search engine to measure text similarity. The library provides a wide array of metrics to quantify string closeness, including Levenshtein, Jaro-Winkler, Hamming, and Damerau-Levenshtein distances. It supports similarity analysis through longest common subsequence calculations, token-based comparisons, and weighted scoring to account for differences in content and word order. Bey

    This library provides efficient string distance and similarity algorithms, but it is focused on fuzzy string matching rather than comprehensive NLP evaluation metrics like BLEU, ROUGE, or perplexity.

    PythonString Similarity MetricsEdit Distance CalculatorsEdit Distance Calculators
    View on GitHub↗3,958
  • rapidfuzz/rapidfuzzrapidfuzz avatar

    rapidfuzz/RapidFuzz

    3,731View on GitHub↗

    RapidFuzz is a C++ accelerated Python library providing high-performance string comparison and similarity calculations. It functions as a fuzzy string matching toolkit used to quantify the difference between text sequences through Levenshtein distance and other edit distance metrics. The library focuses on scalable approximate text matching, enabling the identification and ranking of similar strings within large datasets. It provides specialized utilities for finding the best matches in a collection and generating pairwise similarity matrices. The project covers a broad surface of text proce

    RapidFuzz provides high-performance string comparison and edit distance calculations in Python, but it focuses on fuzzy string matching rather than comprehensive NLP evaluation metrics like BLEU, ROUGE, or perplexity.

    PythonString Similarity MetricsEdit Distance Calculators
    View on GitHub↗3,731
  • seatgeek/fuzzywuzzyseatgeek avatar

    seatgeek/fuzzywuzzy

    9,258View on GitHub↗

    Fuzzywuzzy is a Python library and text processing utility designed to calculate similarity scores between strings. It functions as a text similarity scoring engine and an approximate string matching tool used to identify the closest textual matches within a list of candidate strings. The library provides a suite of tools for measuring the degree of similarity between pieces of text, accounting for typos and formatting differences. These capabilities include extracting the best match from a candidate list and performing fuzzy string matching through various scoring methods. The toolset cover

    Fuzzywuzzy is a string similarity and fuzzy matching library for Python, which provides edit distance calculations but does not compute NLP evaluation metrics like BLEU, ROUGE, or perplexity.

    PythonString Similarity MetricsEdit Distance Calculators
    View on GitHub↗9,258
  • rustformers/llmrustformers avatar

    rustformers/llm

    6,151View on GitHub↗

    This project is a library and command-line interface for local large language model inference. It enables the generation of text completions and chat responses from various model architectures. The project provides tools for weight quantization to reduce memory footprints and incorporates hardware acceleration through GPU offloading to increase computation speed. It also includes utilities for model evaluation by measuring perplexity on specific datasets. Capabilities cover the full inference lifecycle, including binary model loading, template-based prompt structuring, and session persistenc

    This project is an LLM inference and local execution engine rather than a general text evaluation library, though it does feature internal perplexity measurement utilities for model evaluation.

    RustPerplexity Calculators
    View on GitHub↗6,151
  • naturalnode/naturalNaturalNode avatar

    NaturalNode/natural

    10,878View on GitHub↗

    Natural is a natural language processing library for Node.js that provides tools for text analysis, tokenization, and phonetic matching. It functions as a collection of specialized toolsets for word stemming, string similarity quantification, and pattern-based text classification. The library includes a phonetic sound analyzer that converts words into phonetic representations to identify matches based on sound rather than literal spelling. It also features a text classification engine that assigns categories to text inputs using trained models and pattern recognition. Additional capabilities

    Natural is a JavaScript natural language processing library that provides string similarity metrics and tokenization tools, but it lacks specific support for standard text evaluation metrics like BLEU, ROUGE, or perplexity.

    JavaScriptString Similarity Metrics
    View on GitHub↗10,878
  • morizeyao/gpt2-chineseMorizeyao avatar

    Morizeyao/GPT2-Chinese

    7,596View on GitHub↗

    GPT2-Chinese is a Chinese language model implementation based on the GPT-2 architecture. It provides a causal language model trainer and a natural language generation tool designed for training and generating human-like Chinese text sequences. The system integrates a BERT tokenizer to process Chinese corpora into manageable units for machine learning. It enables the development of predictive text models that can generate specific patterns, such as news or poetry, through prompt-based text completion. The project covers a full workflow including text tokenization, model training using a trans

    GPT2-Chinese is a language model implementation and training pipeline rather than a comprehensive text evaluation library, making it a building block for generation rather than a standalone metric calculator.

    PythonPerplexity Calculators
    View on GitHub↗7,596
  • setzer22/llama-rssetzer22 avatar

    setzer22/llama-rs

    6,150View on GitHub↗

    llama-rs is a local large language model inference engine implemented in Rust. It enables the execution of model computations on local hardware to generate text responses from user prompts. The project utilizes Rust-based tensor operations and direct-memory model mapping to handle high-performance linear algebra and efficient weight loading. It incorporates weight quantization to reduce the memory footprint of models by converting high-precision weights into smaller formats. The system includes a command-line interface for interactive chat sessions and one-off prompts, along with file-backed

    This project is a local large language model inference engine for running chat models rather than a toolkit for computing textual evaluation metrics, making it a building block in the same AI domain but the wrong category entirely.

    RustInference ExecutionCommand Line Inference InterfacesHigh-Performance Tensor Libraries
    View on GitHub↗6,150
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
nltk/nltk14.6KPythonApache-2.0Jun 11, 2026
huggingface/evaluate2.5KPythonApache-2.0May 26, 2026
google-research/bleurt791PythonApache-2.0Aug 4, 2023
tiiiger/bert_score1.9KJupyter NotebookMITJul 30, 2024
benhamner/metrics1.7KPythonNOASSERTIONJan 11, 2023
maxbachmann/rapidfuzz4KPythonMITJun 15, 2026
rapidfuzz/rapidfuzz3.7KPythonmitJan 25, 2026
seatgeek/fuzzywuzzy9.3KPythonGPL-2.0Feb 24, 2023
rustformers/llm6.2KRustApache-2.0Jun 24, 2024
naturalnode/natural10.9KJavaScriptMITFeb 22, 2026

Related searches

  • Text conversion tools
  • an open source tool for managing fonts
  • Text editors
  • Text search engine
  • String manipulation library
  • an open source vector graphics editor
  • HTML template engine
  • Terminal output formatter