From: Alexey Tourbin <at@altlinux.ru> To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: [sisyphus] Re: countable nouns Date: Mon, 25 Jul 2005 20:18:22 +0400 Message-ID: <20050725161821.GA24898@solemn.turbinal.org> (raw) In-Reply-To: <42E49ECE.9080005@altlinux.ru> [-- Attachment #1: Type: text/plain, Size: 889 bytes --] On Mon, Jul 25, 2005 at 12:11:58PM +0400, Mikhail Yakshin wrote: > >$ count 10 штука > >10 штук > >$ count 20 штука > >22 штуки > > 20 -> 22? %) Да. > В общем случае - это невозможно, только если словарь заводить. Там масса > исключений, особенно в районе заимствованных слов, да еще и таких > неприятных, когда даже носители языка не могут между собой разобраться, > как правильно (вроде person - persons - personae, machine - machines - > machinae). Есть и более прозаичные ситуации, которые сложно отследить автоматически, напр.: potato -> potatoes, macro -> macros. > А если покрыть большинство случаев не считая исключений, то что-то вроде > sed 's/y$/ie/;s/s$/se/;s/f$/ve/;s/$/s/;' А форма множественного числа используется для всех числительных, которые больше 1? То есть "twenty one package" или "twenty one packages"? По-русски -- 21 пакет. :) [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-07-25 16:18 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-07-22 18:38 [sisyphus] " Alexey Tourbin 2005-07-22 19:01 ` [sisyphus] " Sergey V Turchin 2005-07-22 21:48 ` Alexey Tourbin 2005-07-25 8:11 ` Mikhail Yakshin 2005-07-25 16:18 ` Alexey Tourbin [this message] 2005-07-26 9:53 ` Mikhail Yakshin 2005-07-26 14:38 ` [sisyphus] [JT] " Michael Shigorin 2005-07-22 20:37 ` [sisyphus] " Alexey Rusakov 2005-07-25 16:59 ` Ivan Adzhubey 2005-07-23 15:33 ` Alexey Voinov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050725161821.GA24898@solemn.turbinal.org \ --to=at@altlinux.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git