- The paper presents a database of ranked English and Spanish paraphrases derived by:
- Extracting lexical, phrasal, and syntactic paraphrases from large bilingual parallel corpora.
- Computing the similarity scores for the pair of paraphrases using Google ngrams and the Annotated Gigaword corpus.
- Link to the paper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
from tensorflow.python.ops import init_ops | |
from tensorflow.python.ops import array_ops | |
from tensorflow.python.ops import math_ops | |
from tensorflow.python.ops.rnn_cell_impl import RNNCell, _linear | |
class LRUCell(RNNCell): | |
"""Lattice Recurrent Unit (LRU). | |
This implementation is based on: |