Method: Interscript.detect

Defined in:
lib/interscript.rb

.detect(source, destination, **kwargs) ⇒ Object

Detects the transliteration that gives the most close approximation of transliterating source into destination.

Set multiple: true to get a full report.



60
61
62
63
64
# File 'lib/interscript.rb', line 60

def detect(source, destination, **kwargs)
  detector = Detector.new
  detector.set_from_kwargs(**kwargs)
  detector.(source, destination)
end