Text Analytics Library
a collection of routines for simple textual analysis
 All Files Functions Typedefs
analytics.h
Go to the documentation of this file.
1 
5 #ifndef _ANALYTICS_H_
6 #define _ANALYTICS_H_
7 
8 #include <stdio.h>
9 
10 #include "word_list.h"
11 #include "word_map.h"
12 
24 word_list_t split_words(FILE* is);
25 
39 word_map_t count_words(const word_list_t words);
40 
51 void sort_counted_words(word_map_t wm, int opt);
52 
53 #endif
data structure and associated functions to work with lists of words
void sort_counted_words(word_map_t wm, int opt)
sort a counted word list
word_map_t count_words(const word_list_t words)
count occurrences of words in a list
word_list_t split_words(FILE *is)
extract a list of words from a stream
data structure and associated functions to work with lists of words, integer pairs ...
struct word_list * word_list_t
Definition: word_list.h:12