https://github.com/apertium/apertium-lint

Linter for Apertium source files

https://github.com/apertium/apertium-lint

Science Score: 26.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
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.2%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Linter for Apertium source files

Basic Info
  • Host: GitHub
  • Owner: apertium
  • License: gpl-3.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 147 KB
Statistics
  • Stars: 3
  • Watchers: 6
  • Forks: 3
  • Open Issues: 6
  • Releases: 0
Created over 5 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

apertium-lint

linter for Apertium source files

This package provides the command-line tool apertium-lint which statically analyzes Apertium source files for potential issues.

The linter can be run on a single file, giving output like

$ apertium-lint modes.xml modes.xml Error (install-deps) on line 8: Debug modes using files in .deps/ should not be installed. Error (install-deps) on line 25: Debug modes using files in .deps/ should not be installed. Error (install-deps) on line 91: Debug modes using files in .deps/ should not be installed. Errors: 3 Warnings: 0 Suggestions: 0 Nitpicks: 0

or it can be run without arguments, which will apply it to the entire current directory

$ apertium-lint ./modes.xml Error (install-deps) on line 8: Debug modes using files in .deps/ should not be installed. Error (install-deps) on line 25: Debug modes using files in .deps/ should not be installed. Error (install-deps) on line 91: Debug modes using files in .deps/ should not be installed. ./paper/paper.tex Warning (unnorm) on line 113: Line contains non-normalized characters. Errors: 3 Warnings: 1 Suggestions: 0 Nitpicks: 0

With option -s, statistics about the files will also be gathered.

$ apertium-lint -s apertium-kir.kir.twol apertium-kir.kir.twol Input alphabet symbols: 169 Output alphabet symbols: 139 Rules: 61 Sets: 35 Alphabet symbol pairs: 169 Errors: 0 Warnings: 0 Suggestions: 0 Nitpicks: 0

Prerequisites:

  • python 3
  • pip or pipx (see https://pipx.pypa.io/latest/installation/ for how to install pipx on Debian/Ubuntu/Macos etc.)

Installation:

If you have pipx installed, you can just do:

sh $ pipx install apertium-lint (Alternatively, pip install apertium-lint should also work, but plain pip can make a bit of a mess if you have lots of packages installed on your user.)

Owner

  • Name: Apertium
  • Login: apertium
  • Kind: organization
  • Email: apertium-contact@lists.sourceforge.net

Free/open-source platform for developing rule-based machine translation systems and language technology

GitHub Events

Total
  • Issues event: 5
  • Issue comment event: 6
  • Push event: 6
  • Pull request event: 3
  • Fork event: 2
  • Create event: 2
Last Year
  • Issues event: 5
  • Issue comment event: 6
  • Push event: 6
  • Pull request event: 3
  • Fork event: 2
  • Create event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 41
  • Total Committers: 2
  • Avg Commits per committer: 20.5
  • Development Distribution Score (DDS): 0.049
Past Year
  • Commits: 5
  • Committers: 2
  • Avg Commits per committer: 2.5
  • Development Distribution Score (DDS): 0.2
Top Committers
Name Email Commits
Daniel Swanson a****s@g****m 39
Kevin Brubeck Unhammer u****r@f****g 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 8
  • Total pull requests: 3
  • Average time to close issues: 11 months
  • Average time to close pull requests: 2 months
  • Total issue authors: 2
  • Total pull request authors: 3
  • Average comments per issue: 1.25
  • Average comments per pull request: 1.33
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 5 days
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 2.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • unhammer (6)
  • mr-martian (5)
Pull Request Authors
  • unhammer (2)
  • Sachin-NK (2)
  • mr-martian (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 203 last-month
  • Total dependent packages: 3
  • Total dependent repositories: 9
  • Total versions: 22
  • Total maintainers: 4
pypi.org: apertium-lint

static analysis of Apertium files

  • Versions: 22
  • Dependent Packages: 3
  • Dependent Repositories: 9
  • Downloads: 203 Last month
  • Docker Downloads: 0
Rankings
Docker downloads count: 0.7%
Dependent packages count: 2.4%
Dependent repos count: 4.8%
Average: 12.9%
Downloads: 18.7%
Forks count: 22.6%
Stargazers count: 27.8%
Last synced: 11 months ago