public string Process(string text, IRomanizationSystem system) { system ??= new RevisedRomanization(); return(system.Process( string.Join("", ProcessWithReadings(text).Characters .Select(c => c.Readings.Length > 0 ? c.Readings[0].Value : c.Character)))); }
public string ProcessWithKana(string text, IRomanizationSystem system = null) { system ??= new ModifiedHepburn(); return(Process(system.Process(text))); }