MAIDR JavaScript API
    Preparing search index...

    Function attachJosa

    • Appends the correct form of a Korean particle to a word.

      A word whose ending cannot be judged — a symbol, an empty string — gets the vowel form, which is the more common reading of foreign words.

      Parameters

      • word: string

        The word the particle attaches to

      • pair: string

        Which particle, as its two forms run together: 은는, 이가, 을를, 과와, 으로, 이다

      Returns string

      The word with the particle attached