diff --git a/website/docs/usage/lightning-tour.jade b/website/docs/usage/lightning-tour.jade index 2fd390d26..6c98cf3f3 100644 --- a/website/docs/usage/lightning-tour.jade +++ b/website/docs/usage/lightning-tour.jade @@ -58,13 +58,13 @@ p assert token.shape_ == 'Xxxxx' for lexeme in nlp.vocab: if lexeme.is_alpha: - lexeme.shape_ = 'W' + lexeme.shape_ = u'W' elif lexeme.is_digit: - lexeme.shape_ = 'D' + lexeme.shape_ = u'D' elif lexeme.is_punct: - lexeme.shape_ = 'P' + lexeme.shape_ = u'P' else: - lexeme.shape_ = 'M' + lexeme.shape_ = u'M' assert token.shape_ == 'W' +h(2, "examples-numpy-arrays") Export to numpy arrays