fix: correct attribute name typo model_speciess to model_species (#13929)

## Summary
- Rename misspelled attribute `model_speciess` to `model_species` across
4 files
- The extra `s` is a typo — `species` is already plural

## Test plan
- [ ] Verify PDF parsing with laws/manual/paper parser types still works
correctly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: yuj <yuj@ztjzsoft.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ricardo-M-L
2026-05-15 14:19:41 +08:00
committed by GitHub
parent c2863173b0
commit cb606e1c38
4 changed files with 5 additions and 5 deletions

View File

@@ -77,8 +77,8 @@ class RAGFlowPdfParser:
if layout_recognizer_type not in ["onnx", "ascend"]:
raise RuntimeError("Unsupported layout recognizer type.")
if hasattr(self, "model_speciess"):
recognizer_domain = "layout." + self.model_speciess
if hasattr(self, "model_species"):
recognizer_domain = "layout." + self.model_species
else:
recognizer_domain = "layout"