Loads the universal ambigs that are useful for any language.
| 65 | |
| 66 | // Loads the universal ambigs that are useful for any language. |
| 67 | void UnicharAmbigs::LoadUniversal(const UNICHARSET& encoder_set, |
| 68 | UNICHARSET* unicharset) { |
| 69 | TFile file; |
| 70 | if (!file.Open(kUniversalAmbigsFile, ksizeofUniversalAmbigsFile)) return; |
| 71 | LoadUnicharAmbigs(encoder_set, &file, 0, false, unicharset); |
| 72 | } |
| 73 | |
| 74 | void UnicharAmbigs::LoadUnicharAmbigs(const UNICHARSET& encoder_set, |
| 75 | TFile *ambig_file, |
no test coverage detected