time-to-botec/js/node_modules/@stdlib/nlp/expand-contractions/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

28 lines
618 B
Plaintext

{{alias}}( str )
Expands all contractions to their formal equivalents.
Parameters
----------
str: string
Input string.
Returns
-------
out: string
String with expanded contractions.
Examples
--------
> var str = 'I won\'t be able to get y\'all out of this one.';
> var out = {{alias}}( str )
'I will not be able to get you all out of this one.'
> str = 'It oughtn\'t to be my fault, because, you know, I didn\'t know';
> out = {{alias}}( str )
'It ought not to be my fault, because, you know, I did not know'
See Also
--------