我必须用 Latex 撰写毕业论文,但在 Overleaf 上的参考书目方面遇到了问题。
\documentclass[epsfig,a4paper,11pt,titlepage,twoside,openany]{book}
\usepackage{epsfig}
\usepackage{plain}
\usepackage{setspace}
\usepackage[paperheight=29.7cm,paperwidth=21cm,outer=1.5cm,inner=2.5cm,top=2cm,bottom=2cm]{geometry} % per definizione layout
\usepackage{titlesec} % per formato custom dei titoli dei capitoli
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Package utilizzati
\usepackage{verbatim} % verbatim
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{booktabs}
\usepackage{siunitx}
\usepackage{hyperref}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{pifont}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=cyan,
pdftitle={Overleaf Example},
pdfpagemode=FullScreen,
}
%%%%%%%%%%%%%%
% supporto lettere accentate
%
%\usepackage[latin1]{inputenc} % per Windows;
\usepackage[utf8x]{inputenc} % per Linux (richiede il pacchetto unicode);
%\usepackage[applemac]{inputenc} % per Mac.
\singlespacing
\usepackage[italian]{babel}
\begin{document}
% bibliografia in formato bibtex
%inside here I have all my chapters imported with in \input{}
\addcontentsline{toc}{chapter}{Bibliografia}
\bibliographystyle{plain}
\bibliography{biblio}
\end{document}
我有一个书目目录像这样的文件
@article{end-to-end,
author = {Song Wang and Guanyu Li},
title = {Overview of end-to-end speech recognition},
journal = {J. Phys},
year = {2019}
}
@misc{deepSpeech,
title = {DeepSpeech’s documentation},
howpublished = {https://deepspeech.readthedocs.io/en/r0.9/DeepSpeech.html},
note = {ultimo accesso 25/06/2021}
}
@book{tesi_filippo,
author = {Filippo Tessaro},
title = {Solutions for Simultaneous Speech Translation},
publisher = {Department of Information Engineering and Computer Science, UniTN},
year = {2020},
}
@misc{verbatim,
title = {Verbatim},
howpublished = {https://it.wikipedia.org/wiki/Verbatim},
note = {ultimo accesso 30/06/2021}
}
@book{windowing,
author = {Daniel Jurafsky & James H. Martin},
title = {Speech and Language Processing},
publisher = {Prentice Hall PTR},
year = {2020},
edition = "3rd ed. draft"
}
@misc{mfcc,
title = {Cepstrum and MFCC},
howpublished = {https://wiki.aalto.fi/display/ITSP/Cepstrum+and+MFCC},
note = {ultimo accesso 20/05/2021}
}
@book{mfcc-text,
author = {K.S. Rao and Manjunath K.E},
title = {Speech Recognition Using Articulatory and Excitation Source Features},
publisher = {Springer Publishing Company},
year = {2017},
}
@misc{wer-algo,
title = {Word Error Rate Calculation},
howpublished = {https://martin-thoma.com/word-error-rate-calculation/},
note = {ultimo accesso 10/05/2021}
}
@misc{wer,
title = {Word Error Rate},
howpublished = {https://en.wikipedia.org/wiki/Word_error_rate},
note = {ultimo accesso 10/05/2021}
}
@misc{lm-nn,
title = {Language Modeling: Types and Importance in Artificial Intelligence},
howpublished = {https://aiseed.co/language-modeling-types-and-importance-in-artificial-intelligence/},
note = {ultimo accesso 14/06/2021}
}
@misc{intro_asr,
title = {Riconoscimento vocale},
howpublished = {https://it.wikipedia.org/wiki/Riconoscimento_vocale},
note = {ultimo accesso 24/06/2021}
}
@misc{lm-valutazione,
title = {Modello linguistico con N-Grammi},
howpublished = {https://enricogiannini.com/15/modello-linguistico-con-n-grammi/},
note = {ultimo accesso 25/06/2021}
}
@unpublished{unita-base,
Author = {Carovano Natalino},
Title = {Speech To Text}
Institution = {Università di Pisa},
howpublished = {http://groups.di.unipi.it/~cappelli/seminari/carovano.pdf},
Year = {2007},
}
@misc{wiki_viterbi,
title = {Viterbi algorithm},
howpublished = {https://en.wikipedia.org/wiki/Viterbi_algorithm},
note = {ultimo accesso 30/06/2021}
}
这是我使用 \cite{} 时的一些文本示例
\chapter{Introduzione}
Il Riconoscimento Vocale noto come Automatic Speech Recognition o ASR è il
processo mediante il quale il linguaggio orale umano viene riconosciuto e
successivamente elaborato attraverso un computer o più specificatamente
attraverso un apposito sistema di riconoscimento vocale \cite{intro_asr}.
La parola è il metodo primario di comunicazione tra le persone, tuttavia
le attuali modalità di comunicazione uomo-macchina sono più orientate a
convivere con i limiti dei dispositivi di input/output del computer.
但是我有这个错误:
您引用了参考书目中未包含的内容。请确保引用 (\cite{...}) 在您的参考书目中有对应的键,并且两者的拼写相同。
并且 overleaf 给我这个警告引用 'deepSpeech' 在第 X 页上未定义在输入行 X
我应该怎么办?
答案1
bibtex 产生错误
$ bibtex aa550
This is BibTeX, Version 0.99d (TeX Live 2021)
The top-level auxiliary file: aa550.aux
The style file: plain.bst
Database file #1: biblio.bib
I was expecting a `,' or a `}'---line 81 of file biblio.bib
:
: Institution = {Università di Pisa},
(Error may have been on previous line)
I'm skipping whatever remains of this entry
Warning--to sort, need author or key in intro_asr
(There was 1 error message)
所以无法生成参考书目
添加上面一行缺少的逗号
Title = {Speech To Text}
,
那么你只会收到警告
Warning--to sort, need author or key in intro_asr
并建立参考书目
再次运行 latex 则会出现错误
! Missing $ inserted.
<inserted text>
$
l.5 ...tps://it.wikipedia.org/wiki/Riconoscimento_
vocale.
所以你需要使用\url
..
howpublished = {\url{https://it.wikipedia.org/wiki/Riconoscimento_vocale}},