libpostal-sys 0.1.1

Low-level wrappers for libpostal address normalization (with locks to support thread-safe initialization)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef LANGUAGE_FEATURES_H
#define LANGUAGE_FEATURES_H

#include <stdlib.h>

#include "collections.h"
#include "string_utils.h"
#include "tokens.h"


char *language_classifier_normalize_string(char *str);
void language_classifier_normalize_token(char_array *array, char *str, token_t token);

khash_t(str_double) *extract_language_features(char *str, char *country, token_array *tokens, char_array *feature_array);

#endif