https://github.com/bminixhofer/srx
A mostly compliant Rust implementation of the Segmentation Rules eXchange (SRX) 2.0 standard for text segmentation.
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
Repository
A mostly compliant Rust implementation of the Segmentation Rules eXchange (SRX) 2.0 standard for text segmentation.
Basic Info
Statistics
- Stars: 8
- Watchers: 1
- Forks: 4
- Open Issues: 2
- Releases: 2
Metadata Files
README.md
SRX
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
- Website: bmin.ai
- Twitter: bminixhofer
- Repositories: 31
- Profile: https://github.com/bminixhofer
PhD Student @cambridgeltl
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: over 3 years ago
Top Committers
| Name | 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)
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
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
Rankings
Maintainers (1)
Dependencies
- 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
- actions-rs/cargo v1 composite
- actions-rs/clippy-check v1 composite
- actions/checkout v2 composite