📄 查看完整輸出 (results.bib)
```bibtex
@article{LeCun2015Deep,
doi = "10.1038/nature14539",
title = "Deep learning",
author = "LeCun, Yann and Bengio, Yoshua and Hinton, Geoffrey",
journal = "Nature",
year = 2015,
volume = 521,
number = 7553,
pages = "436-444",
publisher = "Springer Science and Business Media LLC",
url = "https://doi.org/10.1038/nature14539",
type = "journal-article",
}
@inproceedings{Vaswani2017Attention,
arxiv = "1706.03762",
title = "Attention Is All You Need",
author = "Vaswani, Ashish and Shazeer, Noam and Parmar, Niki and Uszkoreit, Jakob and Jones, Llion and Gomez, Aidan N. and Kaiser, Lukasz and Polosukhin, Illia",
year = 2017,
journal = "arXiv preprint",
url = "https://arxiv.org/abs/1706.03762",
}
@book{Goodfellow2016Deep,
title = "Deep Learning",
author = "Ian Goodfellow and Yoshua Bengio and Aaron Courville",
publisher = "MIT Press",
year = 2016,
isbn = "9780262337373",
url = "https://play.google.com/store/books/details?id=omivDQAAQBAJ&source=gbs_api",
pages = "801",
}
@software{tensorflow2015tensorflow,
title = "tensorflow",
author = "tensorflow",
publisher = "GitHub",
year = 2015,
version = "2.20.0",
url = "https://github.com/tensorflow/tensorflow",
}
@misc{Brett2019nipynibabel,
title = "nipy/nibabel: 2.4.1",
author = "Brett, Matthew and Markiewicz, Christopher J. and Hanke, Michael and Côté, Marc-Alexandre and Cipollini, Ben and McCarthy, Paul and Cheng, Christopher P. and Halchenko, Yaroslav O. and Cottaar, Michiel and Ghosh, Satrajit and Larson, Eric and Wassermann, Demian and Gerhard, Stephan and Lee, Gregory R. and Kastman, Erik and Rokem, Ariel and Madison, Cindee and Morency, Félix C. and Moloney, Brendan and Burns, Christopher and Millman, Jarrod and Gramfort, Alexandre and Leppäkangas, Jaakko and Markello, Ross and van den Bosch, Jasper J.F. and Vincent, Robert D. and Subramaniam, Krish and Raamana, Pradeep Reddy and Nichols, B. Nolan and Baker, Eric M. and Goncalves, Mathias and Hayashi, Soichi and Pinsard, Basile and Haselgrove, Christian and Hymers, Mark and Koudoro, Serge and Oosterhof, Nikolaas N. and Amirbekian, Bago and Nimmo-Smith, Ian and Nguyen, Ly and Reddigari, Samir and St-Jean, Samuel and Garyfallidis, Eleftherios and Varoquaux, Gael and Kaczmarzyk, Jakub and Legarreta, Jon Haitz and Hahn, Kevin S. and Hinds, Oliver P. and Fauber, Bennet and Poline, Jean-Baptiste and Stutters, Jon and Jordan, Kesshi and Cieslak, Matthew and Moreno, Miguel Estevan and Haenel, Valentin and Schwartz, Yannick and Thirion, Bertrand and Papadopoulos Orfanos, Dimitri and Pérez-García, Fernando and Solovey, Igor and Gonzalez, Ivan and Lecher, Justin and Leinweber, Katrin and Raktivan, Konstantinos and Fischer, Peter and Gervais, Philippe and Gadde, Syam and Ballinger, Thomas and Roos, Thomas and Reddam, Venkateswara Reddy and freec84",
year = 2019,
howpublished = "Zenodo",
url = "https://zenodo.org/record/3233118",
version = "2.4.1",
doi = "10.5281/zenodo.3233118",
}
@article{Radford2021Learning,
arxiv = "2103.00020",
title = "Learning Transferable Visual Models From Natural Language Supervision",
author = "Radford, Alec and Kim, Jong Wook and Hallacy, Chris and Ramesh, Aditya and Goh, Gabriel and Agarwal, Sandhini and Sastry, Girish and Askell, Amanda and Mishkin, Pamela and Clark, Jack and Krueger, Gretchen and Sutskever, Ilya",
year = 2021,
journal = "arXiv preprint",
url = "https://arxiv.org/abs/2103.00020",
}
@phdthesis{Smith2020Neural,
title = "Neural Architecture Search",
author = "Smith, J.",
school = "Stanford University",
year = 2020,
type = "phdthesis",
}
</details>
## ✨ 主要特性
- 🔍 **智能識別**:可對多個學術數據庫進行模糊匹配,從不完整或不準確的信息中查找參考文獻。
- 📚 **通用格式支持**:輸入 `.txt`/`.bib` 文件,可輸出 **BibTeX**、**APA** 或 **MLA** 格式的引用。
- 🎯 **高精度處理流程**:採用 4 階段處理(清理 → 查詢 → 驗證 → 格式化),確保輸出質量。
- 🤖 **自動補全**:可自動填充缺失的數據(期刊、卷號、頁碼、ISBN、作者等)。
- 🎓 **7 種以上引用類型**:支持期刊文章、會議論文、書籍、軟件、數據集、學位論文、預印本等。
- 🧠 **智能路由**:自動檢測內容類型和領域(醫學/計算機科學/通用),以實現最佳數據檢索。
- 📄 **通用標識符支持**:支持 DOI、PMID、arXiv ID、ISBN、GitHub URL、Zenodo DOI 或純文本。
- 🎛️ **交互式模式**:當找到多個匹配項時,可手動選擇。
- ⚙️ **可定製模板**:基於 YAML 的模板系統,可完全控制輸出格式。
## 🌐 數據源
<div align="center">
[](https://www.crossref.org/)
[](https://www.semanticscholar.org/)
[](https://openalex.org/)
[](https://pubmed.ncbi.nlm.nih.gov/)
[](https://dblp.org/)
[](https://arxiv.org/)
[](https://datacite.org/)
[](https://zenodo.org/)
[](https://books.google.com/)
</div>
## 💻 使用示例
### 高級用法
<details>
<summary><strong>🎨 多種輸出格式 (APA, MLA)</strong></summary>
```bash
# 生成 APA 格式的引用
onecite process refs.txt --output-format apa
# → LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436-444.
# → Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., ... & Polosukhin, I. (2017). Attention is all you need. In Advances in Neural Information Processing Systems.
# 生成 MLA 格式的引用
onecite process refs.txt --output-format mla
# → LeCun, Yann, Yoshua Bengio, and Geoffrey Hinton. "Deep Learning." Nature 521.7553 (2015): 436-444.
# → Vaswani, Ashish, et al. "Attention Is All You Need." Advances in Neural Information Processing Systems. 2017.