package camomile

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module _ : Config.Type

Signature

val read_data : ?datadir:string -> string -> 'a
type general_category_type = [
  1. | `Lu
  2. | `Ll
  3. | `Lt
  4. | `Mn
  5. | `Mc
  6. | `Me
  7. | `Nd
  8. | `Nl
  9. | `No
  10. | `Zs
  11. | `Zl
  12. | `Zp
  13. | `Cc
  14. | `Cf
  15. | `Cs
  16. | `Co
  17. | `Cn
  18. | `Lm
  19. | `Lo
  20. | `Pc
  21. | `Pd
  22. | `Ps
  23. | `Pe
  24. | `Pi
  25. | `Pf
  26. | `Po
  27. | `Sm
  28. | `Sc
  29. | `Sk
  30. | `So
]
val cat_of_name : string -> general_category_type
val num_of_cat : general_category_type -> int
val cat_of_num : int -> general_category_type
type script_type = [
  1. | `Common
  2. | `Inherited
  3. | `Latin
  4. | `Greek
  5. | `Cyrillic
  6. | `Armenian
  7. | `Hebrew
  8. | `Arabic
  9. | `Syriac
  10. | `Thaana
  11. | `Devanagari
  12. | `Bengali
  13. | `Gurmukhi
  14. | `Gujarati
  15. | `Oriya
  16. | `Tamil
  17. | `Telugu
  18. | `Kannada
  19. | `Malayalam
  20. | `Sinhala
  21. | `Thai
  22. | `Lao
  23. | `Tibetan
  24. | `Myanmar
  25. | `Georgian
  26. | `Hangul
  27. | `Ethiopic
  28. | `Cherokee
  29. | `Canadian_Aboriginal
  30. | `Ogham
  31. | `Runic
  32. | `Khmer
  33. | `Mongolian
  34. | `Hiragana
  35. | `Katakana
  36. | `Bopomofo
  37. | `Han
  38. | `Yi
  39. | `Old_Italic
  40. | `Gothic
  41. | `Deseret
  42. | `Tagalog
  43. | `Hanunoo
  44. | `Buhid
  45. | `Tagbanwa
]
val script_of_name : string -> script_type
val script_of_num : int -> script_type
val num_of_script : script_type -> int
type decomposition_type = [
  1. | `Canon
  2. | `Font
  3. | `NoBreak
  4. | `Initial
  5. | `Medial
  6. | `Final
  7. | `Isolated
  8. | `Circle
  9. | `Super
  10. | `Sub
  11. | `Vertical
  12. | `Wide
  13. | `Narrow
  14. | `Small
  15. | `Square
  16. | `Fraction
  17. | `Compat
]
type decomposition_info = [
  1. | `Canonform
  2. | `HangulSyllable
  3. | `Composite of decomposition_type * UChar.t list
]
type ce_type = int
val primary : ce_type -> int
val secondary : ce_type -> int
val tertiary : ce_type -> int
val compose_ce : int -> int -> int -> ce_type
val complete_ignorable : ce_type
type ce_tbl = (UChar.t list * ce_type list) list UCharTbl.t
type variable_option = [
  1. | `Blanked
  2. | `Non_ignorable
  3. | `Shifted
  4. | `Shift_Trimmed
]
type col_info = {
  1. variable_top : int;
  2. variable_option : variable_option;
  3. french_accent : bool;
  4. hiraganaQ : bool;
  5. hiraganaQ_weight : int;
  6. tbl : ce_tbl;
}
val get_col_info : ?locale:string -> unit -> col_info
val ce : ce_tbl -> UChar.t -> (UChar.t list * ce_type list) list
type localedata = {
  1. col_info : col_info option;
}
OCaml

Innovation. Community. Security.