17 lines
254 B
C
17 lines
254 B
C
|
#pragma once
|
||
|
|
||
|
#include <map>
|
||
|
#include <cstring>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class Lang{
|
||
|
public:
|
||
|
Lang(string, string, string, int);
|
||
|
~Lang();
|
||
|
map<string, int> word2index_;
|
||
|
map<string, int> word2count_;
|
||
|
map<int, string> index2word_;
|
||
|
int n_words_;
|
||
|
};
|