  The Brazilian court system is currently the most clogged up judiciary system
in the world. Thousands of lawsuit cases reach the supreme court every day.
These cases need to be analyzed in order to be associated to relevant tags and
allocated to the right team. Most of the cases reach the court as raster
scanned documents with widely variable levels of quality. One of the first
steps for the analysis is to classify these documents. In this paper we present
a Bidirectional Long Short-Term Memory network (Bi-LSTM) to classify these
pieces of legal document.
