]> Cypherpunks repositories - gostls13.git/commit
exp/locale/collate: implementation of trie that is used for detecting contractions.
authorMarcel van Lohuizen <mpvl@golang.org>
Wed, 25 Apr 2012 11:15:48 +0000 (13:15 +0200)
committerMarcel van Lohuizen <mpvl@golang.org>
Wed, 25 Apr 2012 11:15:48 +0000 (13:15 +0200)
commite456d015fb670b82554284d74c5b88ee278b6f08
tree570eab96d267f4ee4680030d4b50db45ef682df3
parent733b51d996a2b270c2ccfcee149db0583fade879
exp/locale/collate: implementation of trie that is used for detecting contractions.
(See http://www.unicode.org/reports/tr10/#Contractions.)  Each rune that is at the
start of any contraction is associated a trie. This trie, in turn, may be shared
by other runes that have the same set of suffixes.

R=r, r
CC=golang-dev
https://golang.org/cl/5970066
src/pkg/exp/locale/collate/build/contract.go [new file with mode: 0644]
src/pkg/exp/locale/collate/build/contract_test.go [new file with mode: 0644]
src/pkg/exp/locale/collate/contract.go [new file with mode: 0644]
src/pkg/exp/locale/collate/contract_test.go [new file with mode: 0644]