Merge pull request #513 from kyrill007/511
#511. Fixed C compilation errors for the latest versions of Mac OS X
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "crf_context.h"
|
||||
#include "float_utils.h"
|
||||
|
||||
crf_context_t *crf_context_new(int flag, size_t L, size_t T) {
|
||||
crf_context_t *context = malloc(sizeof(crf_context_t));
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "language_classifier_io.h"
|
||||
#include "string_utils.h"
|
||||
#include "trie_utils.h"
|
||||
#include "transliterate.h"
|
||||
|
||||
|
||||
double test_accuracy(char *filename) {
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
#include "string_utils.h"
|
||||
|
||||
#include "file_utils.h"
|
||||
|
||||
// Run shuf/gshuf on a file in-place if the shuf command is available.
|
||||
bool shuffle_file(char *filename) {
|
||||
char *shuffle_command = NULL;
|
||||
|
||||
Reference in New Issue
Block a user