Package 

Class IcuTextTokenizer

  • All Implemented Interfaces:
    org.readium.r2.shared.util.tokenizer.Tokenizer

    @RequiresApi(value = 24) 
    public final class IcuTextTokenizer
     implements Tokenizer<String, IntRange>
                        

    Implementation of a TextTokenizer using ICU components to perform the actual tokenization while taking into account languages specificities.

    • Method Summary

      Modifier and Type Method Description
      List<IntRange> tokenize(String data)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait