Text this: IPC prediction of patent documents using neural network with attention for hierarchical structure.