@openvanilla/mcbopomofoweb
    Preparing search index...

    The main language model.

    Implements

    Index

    Constructors

    Methods

    • Sets a callback to be invoked when the excluded phrases collection changes.

      Parameters

      • callback: (map: Map<string, string[]>) => void

        A function that will be called when the excluded phrases change. The function receives a Map where keys are phrases and values are arrays of strings representing the excluded phrases.

      Returns void

    • Sets a callback function to be invoked whenever the user phrases change.

      Parameters

      • callback: (map: Map<string, string[]>) => void

        A function that receives a Map of phrases. The Map contains string keys mapped to arrays of strings (representing the phrases).

      Returns void

      void