{"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/introducing-rhetorical-parallelism-detection","title":"Introducing Rhetorical Parallelism Detection: A New Task with Datasets, Metrics, and Baselines","arxiv_id":"2312.00100","date":"2023-11-30","proceeding":null,"authors":["Stephen Bothwell","Justin DeBenedetto","Theresa Crnkovich","Hildegund Müller","David Chiang"],"abstract":"Rhetoric, both spoken and written, involves not only content but also style. One common stylistic tool is $\\textit{parallelism}$: the juxtaposition of phrases which have the same sequence of linguistic ($\\textit{e.g.}$, phonological, syntactic, semantic) features. Despite the ubiquity of parallelism, the field of natural language processing has seldom investigated it, missing a chance to better understand the nature of the structure, meaning, and intent that humans convey. To address this, we introduce the task of $\\textit{rhetorical parallelism detection}$. We construct a formal definition of it; we provide one new Latin dataset and one adapted Chinese dataset for it; we establish a family of metrics to evaluate performance on it; and, lastly, we create baseline systems and novel sequence labeling schemes to capture it. On our strictest metric, we attain $F_{1}$ scores of $0.40$ and $0.43$ on our Latin and Chinese datasets, respectively.","url_abs":"https://arxiv.org/abs/2312.00100v1","url_pdf":"https://arxiv.org/pdf/2312.00100v1.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":"introducing-rhetorical-parallelism-detection","repo_url":"https://github.com/mythologos/augustinian-sermon-parallelisms","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":null},{"paper_slug":"introducing-rhetorical-parallelism-detection","repo_url":"https://github.com/mythologos/intro-rpd","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"introducing-rhetorical-parallelism-detection","repo_url":"https://github.com/mythologos/paibi-student-essays","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":null},{"paper_slug":"introducing-rhetorical-parallelism-detection","repo_url":"https://github.com/mythologos/pyrallelism","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2312.00100","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.00100"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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/Mythologos/pyrallelism","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/Mythologos/Intro-RPD","reach":{"status":"ok"}}],"summary":{"ran":7,"unverified":3},"by_repo_kind":{"official":{"samples":10,"ran":7,"repositories":2}},"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":9,"samples":[{"code_sha256_prefix":"24ac030bb657f6d4","entry":"build_ranked_arrays","repo":"Mythologos/Intro-RPD","repo_kind":"official","path":"result_analyzer.py","file_url":"https://github.com/Mythologos/Intro-RPD/blob/HEAD/result_analyzer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"24ac030bb657f6d4"}},{"code_sha256_prefix":"b3dc32d0994b3aa6","entry":"collect_files","repo":"Mythologos/Intro-RPD","repo_kind":"official","path":"result_gatherer.py","file_url":"https://github.com/Mythologos/Intro-RPD/blob/HEAD/result_gatherer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b3dc32d0994b3aa6"}},{"code_sha256_prefix":"ab7f4344dff0a9fa","entry":"expanded_mean","repo":"Mythologos/Intro-RPD","repo_kind":"official","path":"parallelism_analyzer.py","file_url":"https://github.com/Mythologos/Intro-RPD/blob/HEAD/parallelism_analyzer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ab7f4344dff0a9fa"}},{"code_sha256_prefix":"1f73cda258ed2e25","entry":"expanded_stdev","repo":"Mythologos/Intro-RPD","repo_kind":"official","path":"parallelism_analyzer.py","file_url":"https://github.com/Mythologos/Intro-RPD/blob/HEAD/parallelism_analyzer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1f73cda258ed2e25"}},{"code_sha256_prefix":"4b9cecb2a755e784","entry":"pair_files","repo":"Mythologos/Intro-RPD","repo_kind":"official","path":"bootstrapper.py","file_url":"https://github.com/Mythologos/Intro-RPD/blob/HEAD/bootstrapper.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4b9cecb2a755e784"}},{"code_sha256_prefix":"377b565f52ab0cb4","entry":"sorted_flatten","repo":"Mythologos/Intro-RPD","repo_kind":"official","path":"parallelism_analyzer.py","file_url":"https://github.com/Mythologos/Intro-RPD/blob/HEAD/parallelism_analyzer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"377b565f52ab0cb4"}},{"code_sha256_prefix":"d1d4505bdb5ed810","entry":"take_first","repo":"Mythologos/Intro-RPD","repo_kind":"official","path":"utils/models/constants.py","file_url":"https://github.com/Mythologos/Intro-RPD/blob/HEAD/utils/models/constants.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d1d4505bdb5ed810"}},{"code_sha256_prefix":"a9850e91b81903ec","entry":"get_output_type","repo":"Mythologos/pyrallelism","repo_kind":"official","path":"src/pyrallelism/utils/output_format.py","file_url":"https://github.com/Mythologos/pyrallelism/blob/HEAD/src/pyrallelism/utils/output_format.py","link_basis":"first_harvest_node","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":"a9850e91b81903ec"}},{"code_sha256_prefix":"7f876fcc8462cc29","entry":"split_by_matching_directory","repo":"Mythologos/Intro-RPD","repo_kind":"official","path":"data_splitter.py","file_url":"https://github.com/Mythologos/Intro-RPD/blob/HEAD/data_splitter.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7f876fcc8462cc29"}},{"code_sha256_prefix":"fd8aa929e4903953","entry":"split_by_tag_mse","repo":"Mythologos/Intro-RPD","repo_kind":"official","path":"data_splitter.py","file_url":"https://github.com/Mythologos/Intro-RPD/blob/HEAD/data_splitter.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fd8aa929e4903953"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}