am f925b1e3: Fix offdevice TRT build
* commit 'f925b1e34a37f78836c00d679524b9462a736b0d': Fix offdevice TRT buildmain
commit
c5962b8ec2
|
@ -17,6 +17,7 @@
|
||||||
#ifndef LATINIME_UNIGRAM_PROPERTY_H
|
#ifndef LATINIME_UNIGRAM_PROPERTY_H
|
||||||
#define LATINIME_UNIGRAM_PROPERTY_H
|
#define LATINIME_UNIGRAM_PROPERTY_H
|
||||||
|
|
||||||
|
#include <cstring>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
@ -31,8 +32,7 @@ class UnigramProperty {
|
||||||
UnigramProperty()
|
UnigramProperty()
|
||||||
: mCodePoints(), mCodePointCount(0), mIsNotAWord(false), mIsBlacklisted(false),
|
: mCodePoints(), mCodePointCount(0), mIsNotAWord(false), mIsBlacklisted(false),
|
||||||
mHasBigrams(false), mHasShortcuts(false), mProbability(NOT_A_PROBABILITY),
|
mHasBigrams(false), mHasShortcuts(false), mProbability(NOT_A_PROBABILITY),
|
||||||
mTimestamp(0), mLevel(0), mCount(0), mShortcutTargets(),
|
mTimestamp(0), mLevel(0), mCount(0), mShortcutTargets(), mShortcutProbabilities() {}
|
||||||
mShortcutProbabilities() {}
|
|
||||||
|
|
||||||
UnigramProperty(const UnigramProperty &unigramProperty)
|
UnigramProperty(const UnigramProperty &unigramProperty)
|
||||||
: mCodePoints(), mCodePointCount(unigramProperty.mCodePointCount),
|
: mCodePoints(), mCodePointCount(unigramProperty.mCodePointCount),
|
||||||
|
|
Loading…
Reference in New Issue