title: Is it possible to use Google BERT to calculate similarity between two textual documents?
body: <p>Is it possible to use Google BERT for calculating similarity between two textual documents? As I understand BERT's input is supposed to be a limited size sentences. Some works use BERT for similarity calculation for sentences like:</p>
  
  <p><a href="https://github.com/AndriyMulyar/semantic-text-similarity" rel="noreferrer">https://github.com/AndriyMulyar/semantic-text-similarity</a></p>
  
  <p><a href="https://github.com/beekbin/bert-cosine-sim" rel="noreferrer">https://github.com/beekbin/bert-cosine-sim</a></p>
  
  <p>Is there an implementation of BERT done to use it for large documents instead of sentences as inputs ( Documents with thousands of words)?</p>