English

On the number of k-skip-n-grams

Computation and Language 2019-05-15 v1

Abstract

The paper proves that the number of k-skip-n-grams for a corpus of size LL is Ln+n+kn2nkn(n1+kn1)\frac{Ln + n + k' - n^2 - nk'}{n} \cdot \binom{n-1+k'}{n-1} where k=min(Ln+1,k)k' = \min(L - n + 1, k).

Keywords

Cite

@article{arxiv.1905.05407,
  title  = {On the number of k-skip-n-grams},
  author = {Dmytro Krasnoshtan},
  journal= {arXiv preprint arXiv:1905.05407},
  year   = {2019}
}

Comments

2 pages