aksharamukha-python icon indicating copy to clipboard operation
aksharamukha-python copied to clipboard

Complexity of transliteration?

Open ibraheem-moosa opened this issue 3 years ago • 2 comments

Hi. Really nice library. It has been really helpful for my research. I have a question regarding the function transliterate.process.

What is the complexity of this function?

ibraheem-moosa avatar Aug 21 '21 07:08 ibraheem-moosa

That's a good question.

I actually don't know.

If you could figure it out maybe using https://github.com/pberkes/big_O that would be great :)

V

virtualvinodh avatar Aug 24 '21 10:08 virtualvinodh

Sure. I will look into it.

ibraheem-moosa avatar Aug 26 '21 06:08 ibraheem-moosa

In general, transliteration is O(nk), where n is the length of the input and k measures the complexity of the input-output mapping.

akprasad avatar Jan 01 '24 01:01 akprasad