def word(ctx, text, number, by_spaces=False):
    """
    Extracts the nth word from the given text string
    """
    return word_slice(ctx, text, number, conversions.to_integer(number, ctx) + 1, by_spaces)
def word ( ctx , text , number , by_spaces = False ) : return word_slice ( ctx , text , number , conversions . to_integer ( number , ctx ) + 1 , by_spaces )
Extracts the nth word from the given text string