kgrams
0.1.0
src
kgramFreqsR.h
1
#ifndef KGRAM_FREQS_R_H
2
#define KGRAM_FREQS_R_H
3
4
#include <Rcpp.h>
5
#include "
kgramFreqs.h
"
6
#include "
Dictionary.h
"
7
using namespace
Rcpp;
8
9
class
kgramFreqsR
:
public
kgramFreqs
{
10
public
:
11
kgramFreqsR
(
size_t
N) :
kgramFreqs
(N) {}
12
kgramFreqsR
(
size_t
N,
const
Dictionary
& d) :
kgramFreqs
(N, d) {}
13
14
IntegerVector queryR(CharacterVector);
15
};
16
17
#endif
kgramFreqsR
Definition:
kgramFreqsR.h:9
kgramFreqs.h
Definition of kgramFreqs class.
Dictionary
Word dictionary for language models.
Definition:
Dictionary.h:22
Dictionary.h
Definition of Dictionary class.
kgramFreqs
Store k-gram frequency counts in hash tables
Definition:
kgramFreqs.h:20
Generated by
1.8.17