Mining algorithmic complexity in full-text scholarly documents