Home > harper.js > Linter > isolateEnglish
Determine which parts of a given string are intended to be English, returning those bits. The algorithm can be described as “proof of concept” and as such does not work terribly well.
Signature:
isolateEnglish(text: string): Promise<string>;
Parameter |
Type |
Description |
---|---|---|
text |
string |
Returns:
Promise<string>