Skip to content

[Feature]: Option for hyphens in romanization #319

@thomasst

Description

@thomasst

Description

romanize should provide an option to use hyphens/dashes between syllables to clarify the syllable boundaries.

Possible Solution

function romanize(
  hangul: string,
  options?: { useHyphens?: boolean }
): string;

romanize('학여울'); // "hangnyeoul"
romanize('학여울', { useHyphens: true }); // "hang-nyeo-ul"

etc.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions