Etymology
Today it means: madam (as a respectful term of address) Full definition →
From madam + -ji.
Etymology from Wiktionary, CC BY-SA 4.0.