Home > harper.js > Linter > isLikelyEnglish
Determine if the provided text is likely to be intended to be English. The algorithm can be described as “proof of concept” and as such does not work terribly well.
Signature:
isLikelyEnglish(text: string): Promise<boolean>;
Parameter |
Type |
Description |
---|---|---|
text |
string |
Returns:
Promise<boolean>