{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/gec-metrics-a-unified-library-for-grammatical","title":"gec-metrics: A Unified Library for Grammatical Error Correction Evaluation","arxiv_id":"2505.19388","date":"2025-05-26","proceeding":null,"authors":["Takumi Goto","Yusuke Sakai","Taro Watanabe"],"abstract":"We introduce gec-metrics, a library for using and developing grammatical error correction (GEC) evaluation metrics through a unified interface. Our library enables fair system comparisons by ensuring that everyone conducts evaluations using a consistent implementation. Moreover, it is designed with a strong focus on API usage, making it highly extensible. It also includes meta-evaluation functionalities and provides analysis and visualization scripts, contributing to developing GEC evaluation metrics. Our code is released under the MIT license and is also distributed as an installable package. The video is available on YouTube.","url_abs":"https://arxiv.org/abs/2505.19388v1","url_pdf":"https://arxiv.org/pdf/2505.19388v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"gec-metrics-a-unified-library-for-grammatical","repo_url":"https://github.com/gotutiyan/gec-metrics-app","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"grammatical-error-correction","task_name":"Grammatical Error Correction"}],"methods":[{"method_slug":"focus","method_name":"Focus"},{"method_slug":null,"method_name":"Library"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2505.19388","atlas_url":"https://app.syntology.ai/?focus=2505.19388","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2505.19388"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/pygongnlp/PT-M2","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/gotutiyan/gec-metrics-app","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":4,"unverified":1},"by_repo_kind":{"official":{"samples":5,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"ffcf42c21d6bd748","entry":"calc_corr","repo":"gotutiyan/gec-metrics-app","repo_kind":"official","path":"meta_eval_data/SEEDA/utils/corr_sentence.py","file_url":"https://github.com/gotutiyan/gec-metrics-app/blob/HEAD/meta_eval_data/SEEDA/utils/corr_sentence.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ffcf42c21d6bd748"}},{"code_sha256_prefix":"559323653c8ee4f1","entry":"calc_corr","repo":"gotutiyan/gec-metrics-app","repo_kind":"official","path":"meta_eval_data/SEEDA/utils/corr_system.py","file_url":"https://github.com/gotutiyan/gec-metrics-app/blob/HEAD/meta_eval_data/SEEDA/utils/corr_system.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"559323653c8ee4f1"}},{"code_sha256_prefix":"0ccc44a2c779d931","entry":"make_h_mtx","repo":"gotutiyan/gec-metrics-app","repo_kind":"official","path":"meta_eval_data/SEEDA/utils/corr_sentence.py","file_url":"https://github.com/gotutiyan/gec-metrics-app/blob/HEAD/meta_eval_data/SEEDA/utils/corr_sentence.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0ccc44a2c779d931"}},{"code_sha256_prefix":"efee3efad89474e0","entry":"open_file","repo":"gotutiyan/gec-metrics-app","repo_kind":"official","path":"meta_eval_data/SEEDA/utils/corr_system.py","file_url":"https://github.com/gotutiyan/gec-metrics-app/blob/HEAD/meta_eval_data/SEEDA/utils/corr_system.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"efee3efad89474e0"}},{"code_sha256_prefix":"9a0a953f143ae152","entry":"make_m_mtx","repo":"gotutiyan/gec-metrics-app","repo_kind":"official","path":"meta_eval_data/SEEDA/utils/corr_sentence.py","file_url":"https://github.com/gotutiyan/gec-metrics-app/blob/HEAD/meta_eval_data/SEEDA/utils/corr_sentence.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9a0a953f143ae152"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}