boundary

boundary(text)

Extracting word with boundary

Parameters

text: str Text selected to apply transformation

Examples:

sentence="Most tweets are neutral in twitter"
boundary(sentence)
    >>> 'neutral'