
Definí un acrónimo como este:
\DeclareAcronym{LSTM}{
short = LSTM ,
long = long short-term memory,
long-plural = long short-term memories
}
El problema: usar\acp{LSTM}
impresiones en singularyla forma plural (es decir, "memoria larga y corta memorias largas y cortas (LSTM)").
¿Cuál puede ser la razón para esto?
MVE:
\documentclass{article}
\usepackage{acro}
\usepackage{mfirstuc}% provides \capitalisewords
\acsetup{
list-long-format=\capitalisewords,
extra-style=comma,
list-style = lof,
list-heading = subsubsection*,
list-short-format={\bfseries},
only-used=false,
list-style = longtable}
\DeclareAcronym{LSTM}{
short = LSTM ,
long = long short-term memory,
long-plural = long short-term memories
}
\begin{document}
\acp{LSTM}
\end{document}
Respuesta1
La long-plural
propiedad (y también las otras propiedades plurales como short-plural
) tal vez debería llamarse long-plural-ending
. Por defecto tiene el valor s
y se añade al valor de long
. Por lo tanto, un acrónimo definido así
\DeclareAcronym{LSTM}{
short = LSTM ,
long = long short-term memory
}
obtendría el plural largo long short-term memorys
. Para obtener un formulario diferente debes hacer
\DeclareAcronym{LSTM}{
short = LSTM ,
long = long short-term memory,
long-plural-form = long short-term memories
}
lo que imprimiría el plural largo como long short-term memories
.
Si en cambio lo haces
\DeclareAcronym{LSTM}{
short = LSTM ,
long = long short-term memory,
long-plural = long short-term memories
}
como en su MWE, long short-term memories
se agrega long short-term memory
y conduce a long short-term memorylong short-term memories
.