init() {
        return new Promise((resolve, reject) => {
            if (this._analyzer == null) {
                this._analyzer = "yahoo";
                resolve();
            }
            else {
                reject(new Error("This analyzer has already been initialized."));
            }
        });
    }
/**
     * Initialize the analyzer
     * @returns {Promise} Promise object represents the result of initialization
     */
Initialize the analyzer
@returns {Promise} Promise object represents the result of initialization
Initialize the analyzer @returns { Promise } Promise object represents the result of initialization
init() {
        return new Promise((resolve, reject) => {
            if (this._analyzer == null) {
                this._analyzer = "yahoo";
                resolve();
            }
            else {
                reject(new Error("This analyzer has already been initialized."));
            }
        });
    }
init ( ) { return new Promise ( ( resolve , reject ) => { if ( this . _analyzer == null ) { this . _analyzer = "yahoo" ; resolve ( ) ; } else { reject ( new Error ( "This analyzer has already been initialized." ) ) ; } } ) ; }
Initialize the analyzer
 @returns {Promise} Promise object represents the result of initialization
Initialize the analyzer @returns { Promise } Promise object represents the result of initialization