https://github.com/bminixhofer/srx

A mostly compliant Rust implementation of the Segmentation Rules eXchange (SRX) 2.0 standard for text segmentation.

https://github.com/bminixhofer/srx

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.9%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

A mostly compliant Rust implementation of the Segmentation Rules eXchange (SRX) 2.0 standard for text segmentation.

Basic Info
  • Host: GitHub
  • Owner: bminixhofer
  • License: apache-2.0
  • Language: Rust
  • Default Branch: master
  • Homepage:
  • Size: 64.5 KB
Statistics
  • Stars: 8
  • Watchers: 1
  • Forks: 4
  • Open Issues: 2
  • Releases: 2
Created over 5 years ago · Last pushed about 3 years ago
Metadata Files
Readme License

README.md

SRX

Crates.io Docs.rs MIT OR Apache 2.0 license

A simple and reasonably fast Rust implementation of the Segmentation Rules eXchange 2.0 standard for text segmentation. srx is not fully compliant with the standard.

This crate is intended for segmentation of plaintext so markup information (<formathandle> and segmentsubflows) is ignored.

Not complying with the SRX spec, overlapping matches of the same <rule> are not found which could lead to different behavior in a few edge cases.

A note on regular expressions

This crate uses the regex crate for parsing and executing regular expressions. The regex crate is mostly compatible with the regular expression standard from the SRX specification. However, some metacharacters such as \Q and \E are not supported.

To still be able to use files containing unsupported rules and to parse useful SRX files such as segment.srx from LanguageTool which does not comply with the standard by e. g. using look-ahead and look-behind, srx ignores <rule> elements with invalid regular expressions and provides information about them via the srx.errors() function.

Owner

  • Name: Benjamin Minixhofer
  • Login: bminixhofer
  • Kind: user
  • Location: Linz, Austria

PhD Student @cambridgeltl

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 16
  • Total Committers: 3
  • Avg Commits per committer: 5.333
  • Development Distribution Score (DDS): 0.125
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Benjamin Minixhofer b****r@g****m 14
Bernhard Schuster b****d@a****o 1
Sebastian s****k@p****m 1
Committer Domains (Top 20 + Academic)
ahoi.io: 1

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 5
  • Total pull requests: 4
  • Average time to close issues: 2 months
  • Average time to close pull requests: 2 days
  • Total issue authors: 4
  • Total pull request authors: 4
  • Average comments per issue: 2.6
  • Average comments per pull request: 5.5
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • drahnr (2)
  • bminixhofer (1)
  • shinx2000 (1)
  • ZJaume (1)
Pull Request Authors
  • ZJaume (1)
  • drahnr (1)
  • s3bk (1)
  • lpla (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cargo 103,152 total
  • Total dependent packages: 1
  • Total dependent repositories: 4
  • Total versions: 5
  • Total maintainers: 1
crates.io: srx

A mostly compliant Rust implementation of the Segmentation Rules eXchange (SRX) 2.0 standard for text segmentation.

  • Documentation: https://docs.rs/srx/
  • License: MIT OR Apache-2.0
  • Latest release: 0.1.4
    published about 3 years ago
  • Versions: 5
  • Dependent Packages: 1
  • Dependent Repositories: 4
  • Downloads: 103,152 Total
Rankings
Downloads: 9.3%
Dependent repos count: 10.4%
Dependent packages count: 18.2%
Average: 18.7%
Forks count: 21.3%
Stargazers count: 34.3%
Maintainers (1)
Last synced: 11 months ago

Dependencies

Cargo.toml cargo
  • bincode 1 development
  • criterion 0.3 development
  • quickcheck 1 development
  • quickcheck_macros 1 development
  • regex 1
  • serde-xml-rs 0.4
  • serde_crate 1
  • serde_regex 1
  • thiserror 1
.github/workflows/ci.yml actions
  • actions-rs/cargo v1 composite
  • actions-rs/clippy-check v1 composite
  • actions/checkout v2 composite