          cdef Doc doc
          cdef int nr_class = self.moves.n_moves
          cuda_stream = util.get_cuda_stream()
          (tokvecs, bp_tokvecs), state2vec, vec2scores = self.get_batch_model(
              docs, cuda_stream, 0.0)
          cdef int offset = 0
          cdef int j = 0
          cdef int k
  
          beams = []
 
</s> remove     def beam_parse(self, docs, int beam_width=3, float beam_density=0.001):
 </s> add     def beam_parse(self, docs, int beam_width=3, float beam_density=0.001,
            float drop=0.): </s> remove         for i in range(self.max_length):
            self._phrase_key[i] = 0
 </s> add         cdef Pool mem = Pool()
        phrase_key = <attr_t*>mem.alloc(end-start, sizeof(attr_t)) </s> remove         assert (end - start) < self.max_length
 </s> add  </s> remove             self._phrase_key[i] = doc.c[j].lex.orth
        cdef hash_t key = hash64(self._phrase_key,
                                 self.max_length * sizeof(attr_t), 0)
 </s> add             phrase_key[i] = doc.c[j].lex.orth
        cdef hash_t key = hash64(phrase_key,
                                 (end-start) * sizeof(attr_t), 0)
            docs, cuda_stream, drop)
          cdef Doc doc
          cdef int nr_class = self.moves.n_moves
          cuda_stream = util.get_cuda_stream()
          (tokvecs, bp_tokvecs), state2vec, vec2scores = self.get_batch_model(
            docs, cuda_stream, drop)
          cdef int offset = 0
          cdef int j = 0
          cdef int k
  
          beams = []
keep keep keep keep replace keep keep keep keep keep
 Revert "Merge branch 'develop' of https://github.com/explosion/spaCy into develop"

This reverts commit c9ba3d3c2dc7067cf8bd55f878cec45a8c6d73d4, reversing
changes made to 92c26a35d425d4e8ca1b805ea776ea10f5ded3df. 
spacy/syntax/nn_parser.pyx