libgrapheme

unicode string library
git clone git://git.suckless.org/libgrapheme
Log | Files | Refs | README | LICENSE

sentence-test.c (396B)


      1 /* See LICENSE file for copyright and license details. */
      2 #include <stddef.h>
      3 
      4 #include "util.h"
      5 
      6 int
      7 main(int argc, char *argv[])
      8 {
      9 	struct break_test *test = NULL;
     10 	size_t testlen = 0;
     11 
     12 	(void)argc;
     13 
     14 	break_test_list_parse("data/SentenceBreakTest.txt", &test, &testlen);
     15 	break_test_list_print(test, testlen, "sentence_break_test", argv[0]);
     16 	break_test_list_free(test, testlen);
     17 
     18 	return 0;
     19 }