remove
remove(
text,options?):string
Defined in: src/remove.ts:611
Removes niqqud from Hebrew text
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
text | string | a string of Hebrew characters |
options | RemoveOptions | - |
Returns
Section titled “Returns”string
Hebrew characters with accents and niqqud optionally removed
Examples
Section titled “Examples”Default
// by default removes all accents and metheg and raferemove("שָׂרַ֣י אִשְׁתְּךָ֔, וַֽיִּמְצְא֗וּ");// שָׂרַי אִשְׁתְּךָ, וַיִּמְצְאוּRemove accents and vowels, but not shin/sin dots
import { accents, vowels } from "hebrew-transliteration/removeOptions";
remove("שָׂרַ֣י אִשְׁתְּךָ֔, וַֽיִּמְצְא֗וּ", { ...accents, ...vowels, METEG: true });// שׂרי אשׁתך, וימצאוRemove all
import { all } from "hebrew-transliteration/removeOptions";
remove("שָׂרַ֣י אִשְׁתְּךָ֔, וַֽיִּמְצְא֗וּ", all);// שרי אשתך, וימצאו