method of static class JsNgram

Description

Normalize text on search. Ascii alphabet characters is converted to lower case.

Example
JsNgram.normalizeText('Alice');
// returns 'alice'
      
Usage

normalizeText(text);

Argument text is a string.

This is not compatible with the jsngram.text2.normal_text in backend.