Directives
Directives override the dictionary's annotation marks for specific hanja.
Literal directive
Predicate directive
For pattern-based rules supply a closure:
Predicates are evaluated at conversion time. Multiple predicates are OR-ed: the first matching predicate's action wins.
Replacing all directives at once
UserDirectives collects a set of directives and can be applied in bulk:
Calling builder.directives(d) replaces all previously registered directives.