text
[mirror] Go text processing support
File Explorer
Download Latest Version (.zip)- cases.go
- context.go
- context_test.go
- example_test.go
- fold.go
- fold_test.go
- gen.go
- gen_trieval.go
- icu.go
- icu_test.go
- info.go
- map.go
- map_test.go
- tables15.0.0.go
- tables15.0.0_test.go
- tables17.0.0.go
- tables17.0.0_test.go
- trieval.go
- messages.gotext.json
- out.gotext.json
- messages.gotext.json
- out.gotext.json
- messages.gotext.json
- out.gotext.json
- catalog.go
- main.go
- out.gotext.json
- out.gotext.json
- out.gotext.json
- out.gotext.json
- pkg.go
- catalog_gen.go
- main.go
- main.go
- printer.go
- common.go
- doc.go
- extract.go
- generate.go
- main.go
- rewrite.go
- update.go
- builder.go
- builder_test.go
- colelem.go
- colelem_test.go
- contract.go
- contract_test.go
- order.go
- order_test.go
- table.go
- trie.go
- trie_test.go
- chars.go
- col.go
- colcmp.go
- darwin.go
- gen.go
- icu.go
- Makefile
- collate.go
- collate_test.go
- example_sort_test.go
- examples_test.go
- export_test.go
- index.go
- maketables.go
- option.go
- option_test.go
- reg_test.go
- sort.go
- sort_test.go
- table_test.go
- tables.go
- common.go
- currency.go
- currency_test.go
- example_test.go
- format.go
- format_test.go
- gen.go
- gen_common.go
- query.go
- query_test.go
- tables.go
- tables_test.go
- data_test.go
- gen.go
- gen_test.go
- tables.go
- charmap.go
- charmap_test.go
- maketables.go
- tables.go
- gen.go
- htmlindex.go
- htmlindex_test.go
- map.go
- tables.go
- ascii.go
- ascii_test.go
- example_test.go
- gen.go
- ianaindex.go
- ianaindex_test.go
- tables.go
- enctest.go
- gen.go
- identifier.go
- mib.go
- internal.go
- all.go
- all_test.go
- eucjp.go
- iso2022jp.go
- maketables.go
- shiftjis.go
- tables.go
- all_test.go
- euckr.go
- maketables.go
- tables.go
- all.go
- all_test.go
- gbk.go
- hzgb2312.go
- maketables.go
- tables.go
- candide-gb18030.txt
- candide-utf-16le.txt
- candide-utf-32be.txt
- candide-utf-8.txt
- candide-windows-1252.txt
- rashomon-euc-jp.txt
- rashomon-iso-2022-jp.txt
- rashomon-shift-jis.txt
- rashomon-utf-8.txt
- sunzi-bingfa-gb-levels-1-and-2-hz-gb2312.txt
- sunzi-bingfa-gb-levels-1-and-2-utf-8.txt
- sunzi-bingfa-simplified-gbk.txt
- sunzi-bingfa-simplified-utf-8.txt
- sunzi-bingfa-traditional-big5.txt
- sunzi-bingfa-traditional-utf-8.txt
- unsu-joh-eun-nal-euc-kr.txt
- unsu-joh-eun-nal-utf-8.txt
- all_test.go
- big5.go
- maketables.go
- tables.go
- utf32.go
- utf32_test.go
- override.go
- unicode.go
- unicode_test.go
- encoding.go
- encoding_test.go
- example_test.go
- common.go
- data_test.go
- example_test.go
- gen.go
- gen_common.go
- message.go
- message_test.go
- plural.go
- plural_test.go
- tables.go
- catmsg.go
- catmsg_test.go
- codec.go
- varint.go
- varint_test.go
- root.xml
- output.go
- en.xml
- en_001.xml
- en_GB.xml
- root.xml
- output.go
- cldrtree.go
- cldrtree_test.go
- generate.go
- option.go
- tree.go
- type.go
- collate_test.go
- collelem.go
- collelem_test.go
- colltab.go
- colltab_test.go
- contract.go
- contract_test.go
- iter.go
- iter_test.go
- numeric.go
- numeric_test.go
- table.go
- trie.go
- trie_test.go
- weighter.go
- weighter_test.go
- common_test.go
- conformance_test.go
- conformancev2_test.go
- example_test.go
- gen.go
- gen_common.go
- gen_test.go
- gen_trieval.go
- idna.go
- idna_test.go
- punycode.go
- punycode_test.go
- tables15.0.0.go
- tables17.0.0.go
- trie.go
- trieval.go
- doc.go
- gen.go
- unicode_test.go
- README
- format.go
- parser.go
- parser_test.go
- bitfield.go
- bitfield_test.go
- gen1_test.go
- gen2_test.go
- code.go
- gen.go
- compact.go
- gen.go
- gen_index.go
- gen_parents.go
- gen_test.go
- language.go
- language_test.go
- parents.go
- parse_test.go
- tables.go
- tags.go
- common.go
- compact.go
- compose.go
- compose_test.go
- coverage.go
- gen.go
- gen_common.go
- language.go
- language_test.go
- lookup.go
- lookup_test.go
- match.go
- match_test.go
- parse.go
- parse_test.go
- tables.go
- tags.go
- common.go
- decimal.go
- decimal_test.go
- format.go
- format_test.go
- gen.go
- gen_common.go
- number.go
- number_test.go
- pattern.go
- pattern_test.go
- roundingmode_string.go
- tables.go
- tables_test.go
- set.go
- set_test.go
- tag.go
- tag_test.go
- codesize.go
- flag.go
- gc.go
- gccgo.go
- text.go
- compact.go
- data_test.go
- example_compact_test.go
- example_test.go
- gen_test.go
- print.go
- triegen.go
- example_test.go
- ucd.go
- ucd_test.go
- utf8internal.go
- internal.go
- internal_test.go
- match.go
- match_test.go
- dict.go
- dict_test.go
- display.go
- display_test.go
- examples_test.go
- lookup.go
- maketables.go
- tables.go
- CLDRLocaleMatcherTest.txt
- GoLocaleMatcherTest.txt
- coverage.go
- coverage_test.go
- doc.go
- examples_test.go
- gen.go
- httpexample_test.go
- language.go
- language_test.go
- lookup_test.go
- match.go
- match_test.go
- parse.go
- parse_test.go
- tables.go
- tags.go
- catalog.go
- catalog_test.go
- dict.go
- catalog_gen.go
- extracted.gotext.json
- ssa.go
- messages.gotext.json
- out.gotext.json.want
- messages.gotext.json
- out.gotext.json.want
- messages.gotext.json
- out.gotext.json.want
- catalog_gen.go.want
- catalog_test.go
- extracted.gotext.json.want
- test1.go
- catalog_gen.go
- extracted.gotext.json.want
- main.go
- message.go
- extract.go
- generate.go
- message.go
- pipeline.go
- pipeline_test.go
- rewrite.go
- catalog.go
- catalog_test.go
- doc.go
- examples_test.go
- fmt_test.go
- format.go
- message.go
- message_test.go
- print.go
- doc.go
- examples_test.go
- format.go
- format_test.go
- number.go
- number_test.go
- option.go
- cond.go
- cond_test.go
- example_test.go
- runes.go
- runes_test.go
- index.go
- pattern.go
- pattern_test.go
- search.go
- tables.go
- bench_test.go
- bidirule.go
- bidirule_test.go
- benchmark_test.go
- class.go
- class_test.go
- context.go
- doc.go
- enforce_test.go
- gen.go
- gen_trieval.go
- nickname.go
- options.go
- profile.go
- profile_test.go
- profiles.go
- tables15.0.0.go
- tables17.0.0.go
- tables_test.go
- transformer.go
- trieval.go
- doc.go
- examples_test.go
- transform.go
- transform_test.go
- bidi.go
- bidi_test.go
- bracket.go
- core.go
- core_test.go
- gen.go
- gen_ranges.go
- gen_trieval.go
- prop.go
- ranges_test.go
- tables15.0.0.go
- tables17.0.0.go
- tables_test.go
- trieval.go
- base.go
- cldr.go
- cldr_test.go
- collate.go
- collate_test.go
- data_test.go
- decode.go
- examples_test.go
- makexml.go
- resolve.go
- resolve_test.go
- slice.go
- slice_test.go
- xml.go
- composition.go
- composition_test.go
- data15.0.0_test.go
- data17.0.0_test.go
- example_iter_test.go
- example_test.go
- forminfo.go
- forminfo_test.go
- input.go
- iter.go
- iter_test.go
- maketables.go
- normalize.go
- normalize_test.go
- readwriter.go
- readwriter_test.go
- tables15.0.0.go
- tables17.0.0.go
- transform.go
- transform_test.go
- trie.go
- triegen.go
- ucd_test.go
- gen.go
- merge.go
- merge_test.go
- rangetable.go
- rangetable_test.go
- tables15.0.0.go
- tables17.0.0.go
- example_test.go
- gen.go
- runenames.go
- runenames_test.go
- tables15.0.0.go
- tables17.0.0.go
- doc.go
- common_test.go
- example_test.go
- gen.go
- gen_common.go
- gen_trieval.go
- kind_string.go
- runes_test.go
- tables15.0.0.go
- tables17.0.0.go
- tables_test.go
- transform.go
- transform_test.go
- trieval.go
- width.go
- .gitattributes
- .gitignore
- codereview.cfg
- CONTRIBUTING.md
- doc.go
- gen.go
- go.mod
- go.sum
- LICENSE
- PATENTS
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/golang/text
Downloads the entire project code from GitHub to your computer.
cd text
Moves into the project folder you just downloaded.
2. Go
Medium RecommendedPrerequisites
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd collate/tools/colcmp
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
