Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks