MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / _normalize_arxiv_id

Function _normalize_arxiv_id

scripts/citation_links.py:209–211  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

207
208
209def _normalize_arxiv_id(value: str) -> str:
210 arxiv_id = extract_arxiv_id(value) or ""
211 return re.sub(r"^arxiv:\s*", "", arxiv_id, flags=re.IGNORECASE).strip().lower()
212
213
214def _short_acronym_like(value: str) -> bool:

Callers 2

_candidate_arxiv_idsFunction · 0.85
build_vault_note_indexFunction · 0.85

Calls 1

extract_arxiv_idFunction · 0.90

Tested by

no test coverage detected