# Text classification of non-equal length texts, should I pad left or right?

Text classification of equal length texts works without padding, but in reality, practically, texts never have the same length.

For example, spam filtering on blog article:

thanks for sharing    [3 tokens] --> 0 (Not spam)
here's <URL>          [2 tokens] --> 1 (Spam)


Should I pad the texts on the right:

thanks for     sharing --
this   article is      great
here's URL     --      --


--   thanks  for    sharing
--   --      here's URL


What are the pros and cons of either pad left or right?