common-regex VS hfst

Compare common-regex vs hfst and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
common-regex hfst
1 3
0 116
- 0.9%
10.0 4.0
over 5 years ago about 1 month ago
Rust C++
Apache License 2.0 GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

common-regex

Posts with mentions or reviews of common-regex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-30.
  • A portable, modern regular expression language
    9 projects | news.ycombinator.com | 30 Dec 2022
    comparitor.insert("iyr", Regex::new(r"^(201[0-9]|2020)$").unwrap());

    There are lots of number parsing.

    I would enable both [[:1-12:]] and [[:01-12:]] as options without / with leading zeros.

    About the variables:

    This file would look much more readable with variables that are reusing other regexes:

    https://github.com/spcan/common-regex/blob/3238bc8ee85e0e000...

hfst

Posts with mentions or reviews of hfst. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-30.
  • A portable, modern regular expression language
    9 projects | news.ycombinator.com | 30 Dec 2022
  • Search-and-replace with correct grammatical case - does it exist?
    3 projects | /r/LanguageTechnology | 16 Sep 2021
    So you want to go from Spende to Spende+genitive to Beitrag+genitive to Beitrags. In addition to Spacy etc. you might look at Finite State Transducers, which I believe are bidirectional, i.e. for both analysis and generation. XFST and SFST and OpenFST are a few of the FST toolkits. See https://github.com/hfst/hfst for the Helsinki FST; there's a German transducer for it at https://sourceforge.net/projects/hfst/files/resources/morphological-transducers/hfst-german-installable.tar.gz/download. I don't think there is much of a learning curve, and there should be plenty of documentation.
  • Foldable Words
    1 project | news.ycombinator.com | 12 Feb 2021
    The regex syntax is a bit quirky due to backwards compatibility with lexicons written in XFST, see https://github.com/hfst/hfst/wiki/Regular-Expression-Operato...

What are some alternatives?

When comparing common-regex and hfst you can also consider the following projects:

fluent-plugin-grok-parser - Fluentd's Grok parser

HFSM2 - High-Performance Hierarchical Finite State Machine Framework

rx - Standalone version of Emacs' rx macro

lttoolbox - Finite state compiler, processor and helper tools used by apertium

kbnf - KBNF has been renamed to Dogma

apertium - Core tools (driver script, transfer, tagger, formatters) for the FOSS RBMT system Apertium

logstash-patterns - Grok patterns for parsing and structuring log messages with logstash

simplenlg - Java API for Natural Language Generation. Originally developed by Ehud Reiter at the University of Aberdeen’s Department of Computing Science and co-founder of Arria NLG. This git repo is the official SimpleNLG version.

oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

apertium-lex-tools - Module for compiling lexical selection rules and processing them in the pipeline.

JSVerbalExpressions - JavaScript Regular expressions made easy