libgrapheme

Freestanding C library for unicode string handling
git clone https://git.sinitax.com/suckless/libgrapheme
Log | Files | Refs | README | LICENSE | sfeed.txt

sentence-test.c (396B)


      1/* See LICENSE file for copyright and license details. */
      2#include <stddef.h>
      3
      4#include "util.h"
      5
      6int
      7main(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}