# inukshuk/anystyle

Fast citation reference parsing

Repository: https://github.com/inukshuk/anystyle
Canonical: https://ross.abutalabs.com/products/anystyle
Homepage: https://anystyle.io
Language: Ruby
License: NOASSERTION
License Family: other
Topics: bibliography, parser, conditional-random-fields, machine-learning, ruby, science, citation-styles
Last push: 2025-05-11T12:32:49+00:00

## Health v2 (maintenance only)
Score: 42/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 21, release rhythm 35, longevity 100
- inputs: {"age_days": 5481, "days_push": 479, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1285, forks 103 (observed 2026-08-28T04:04:14.694886+00:00)

## What it is
AnyStyle is a fast machine-learning-based parser that splits bibliographic references into structured segments like author, title, and publisher. It is available as a Ruby gem, a command-line tool, and a self-hostable web application, with support for training custom models.

## Use cases
- parse academic citations into structured fields
- convert a bibliography text file into JSON or other formats
- find references within a document
- train a custom citation parser model for my citation style or language
- correct and label parsed references in a web token editor
- self-host a citation parsing web service

## When to choose
- you need to segment raw bibliographic reference strings into author, title, date, and publisher fields
- you work in Ruby and want a programmable citation parser
- your citation style or language is poorly handled by rule-based parsers and you can train a custom model
- you want a self-hosted web tool for cleaning up reference lists

## When to avoid
- you need to format citations into specific styles like APA or MLA rather than parse them
- you are not in the Ruby ecosystem and cannot use the CLI or web app
- you need to parse full PDF documents rather than reference strings
- you require a license-friendly dependency for commercial redistribution, since the license is non-standard

## Facets
- artifact type: library
- maturity: active
- function: parser, machine-learning, nlp, cli
- domain: education, developer-tools, data-science
- platform: ruby, cli, cross-platform
- tags: bibliography, citation-parsing, conditional-random-fields, references, academic-writing, trainable-models, natural-language-processing, web-server

## Member repositories
- inukshuk/anystyle (main) score 42

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:14.694886+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:56:39.883025+00:00, confidence not recorded.
  - readme: https://github.com/inukshuk/anystyle (fetched 2026-08-28T04:04:14.694886+00:00, sha 7dbeb5bae0a9)
  - homepage: https://anystyle.io (fetched 2026-08-29T12:12:28.960543+00:00, sha 5ddbc1a0406a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
