Normalize
Normalizes strings. This handles all sorts of different types of normalization. Pass it a string and use a function to normalize it in some way. Calling a function does not have side-effects
Constructor Summary
Public Constructor | ||
public |
constructor(string: string) Creates a normalizer for a string which all operations will operate on. |
Method Summary
Public Methods | ||
public |
queryTerms(common: string[]): string[] Returns query terms for a given string |
|
public |
Standardizes a string to a simple non-variable format. |