アクロプリントの単数形と複数形

アクロプリントの単数形と複数形

私は頭字語を次のように定義しました:

    \DeclareAcronym{LSTM}{
      short = LSTM ,
      long  = long short-term memory,
      long-plural = long short-term memories
    }

問題: を使用すると\acp{LSTM}単数形が印刷されるそして複数形(つまり、「長期短期記憶長期短期記憶 (LSTM)()。

その理由は何でしょうか?

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}

答え1

プロパティlong-plural(および のような他の複数形プロパティshort-plural) は、 と呼ぶべきかもしれませんlong-plural-ending。デフォルトでは という値を持ちs、 の値に追加されますlong。したがって、次のように定義される頭字語は

\DeclareAcronym{LSTM}{
  short = LSTM ,
  long  = long short-term memory
}

長い複数形になりますlong short-term memorys。別の形式にするには次のようにします。

\DeclareAcronym{LSTM}{
  short = LSTM ,
  long  = long short-term memory,
  long-plural-form = long short-term memories
}

長い複数形は として出力されますlong short-term memories


代わりに

\DeclareAcronym{LSTM}{
  short = LSTM ,
  long  = long short-term memory,
  long-plural = long short-term memories
}

MWE の場合と同様に、long short-term memoriesが追加されlong short-term memory、 になりますlong short-term memorylong short-term memories

関連情報