Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes novel_types.h

  • Loading branch information...
commit de4fffe7565b81068356b0a7bf5bc47ea851b2c1 1 parent 714a4bd
@epico authored
View
5 src/include/novel_types.h
@@ -27,7 +27,6 @@
#ifndef NOVEL_TYPES_H
#define NOVEL_TYPES_H
-#include <limits.h>
#include <glib.h>
namespace pinyin{
@@ -130,8 +129,6 @@ typedef guint32 table_offset_t;
typedef double parameter_t;
-#define LAMBDA_PARAMETER 0.347121
-
/* Array of ChewingKey/ChewingKeyRest */
typedef GArray * ChewingKeyVector;
typedef GArray * ChewingKeyRestVector;
@@ -164,6 +161,8 @@ typedef enum {
USER_DICTIONARY
} PHRASE_INDEX_LIBRARIES;
+#define LAMBDA_PARAMETER 0.347121
+
};
#endif
View
1  src/lookup/lookup.h
@@ -28,6 +28,7 @@
*/
#include "novel_types.h"
+#include <limits.h>
namespace pinyin{
View
1  utils/training/prune_k_mixture_model.cpp
@@ -23,6 +23,7 @@
#include <errno.h>
#include <locale.h>
+#include <limits.h>
#include "pinyin_internal.h"
#include "k_mixture_model.h"
Please sign in to comment.
Something went wrong with that request. Please try again.