Skip to content

How to use segmenter #2877

Answered by sffc
andrewbaxter asked this question in Q&A
Dec 12, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Hi @andrewbaxter!

These are all super valid questions! ICU4X Segmenter is still experimental and currently planned for a full stable release in 1.2 (spring 2023), at which point we'll make sure that the developer experience is where it should be. In the mean time:

  1. The Tutorial (Part 1, Part 2) discusses where to get and how to generate the data for ICU4X. It's totally fine to use icu_testdata to get bootstrapped. In general, the recommendation is that you use icu4x-datagen to build your data file. For certain components like Segmenter, I'd like to see us start shipping data directly on crates.io; #2888 is a follow-up.
  2. You need to enable the icu_segmenter feature on icu_testdata. You won'…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@andrewbaxter
Comment options

@zbraniecki
Comment options

@andrewbaxter
Comment options

@sffc
Comment options

@sffc
Comment options

Answer selected by andrewbaxter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants