Crate crfsuite_sys [] [src]

Structs

_G_fpos64_t
_G_fpos_t
_IO_FILE
_IO_FILE_plus
_IO_jump_t
_IO_marker
__fsid_t
__mbstate_t
__va_list_tag
crfsuite_attribute_t

An attribute. An attribute consists of an attribute id with its value.

crfsuite_data_t

A data set. A data set consists of an array of instances and dictionary objects for attributes and labels.

crfsuite_evaluation_t

An overall performance values.

crfsuite_instance_t

An instance (sequence of items and labels). An instance consists of a sequence of items and labels.

crfsuite_item_t

An item. An item consists of an array of attributes.

crfsuite_label_evaluation_t

Label-wise performance values.

tag_crfsuite_dictionary

CRFSuite dictionary interface.

tag_crfsuite_model

\addtogroup crfsuite_object Object interfaces and utilities. @{

tag_crfsuite_params

CRFSuite parameter interface.

tag_crfsuite_tagger

CRFSuite tagger interface.

tag_crfsuite_trainer

CRFSuite trainer interface.

Constants

AIO_PRIO_DELTA_MAX
ARG_MAX
BC_BASE_MAX
BC_DIM_MAX
BC_SCALE_MAX
BC_STRING_MAX
BUFSIZ
CHARCLASS_NAME_MAX
COLL_WEIGHTS_MAX
CRFSUITEERR_INCOMPATIBLE
CRFSUITEERR_INTERNAL_LOGIC
CRFSUITEERR_NOTIMPLEMENTED
CRFSUITEERR_NOTSUPPORTED
CRFSUITEERR_OUTOFMEMORY
CRFSUITEERR_OVERFLOW
CRFSUITEERR_UNKNOWN
CRFSUITE_COPYRIGHT
CRFSUITE_SUCCESS
CRFSUITE_VERSION
DELAYTIMER_MAX
EOF
EXPR_NEST_MAX
FILENAME_MAX
FOPEN_MAX
HOST_NAME_MAX
LINE_MAX
LINK_MAX
LOGIN_NAME_MAX
L_ctermid
L_tmpnam
MAX_CANON
MAX_INPUT
MB_LEN_MAX
MQ_PRIO_MAX
NAME_MAX
NGROUPS_MAX
NR_OPEN
PATH_MAX
PIPE_BUF
PTHREAD_DESTRUCTOR_ITERATIONS
PTHREAD_KEYS_MAX
PTHREAD_STACK_MIN
P_tmpdir
RE_DUP_MAX
RTSIG_MAX
SEEK_CUR
SEEK_END
SEEK_SET
SEM_VALUE_MAX
TMP_MAX
TTY_NAME_MAX
XATTR_LIST_MAX
XATTR_NAME_MAX
XATTR_SIZE_MAX
_ATFILE_SOURCE
_BITS_POSIX1_LIM_H
_BITS_POSIX2_LIM_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_DEFAULT_SOURCE
_FEATURES_H
_G_BUFSIZ
_G_HAVE_MMAP
_G_HAVE_MREMAP
_G_IO_IO_FILE_VERSION
_G_config_h
_IOFBF
_IOLBF
_IONBF
_IOS_APPEND
_IOS_ATEND
_IOS_BIN
_IOS_INPUT
_IOS_NOCREATE
_IOS_NOREPLACE
_IOS_OUTPUT
_IOS_TRUNC
_IO_BAD_SEEN
_IO_BOOLALPHA
_IO_BUFSIZ
_IO_CURRENTLY_PUTTING
_IO_DEC
_IO_DELETE_DONT_CLOSE
_IO_DONT_CLOSE
_IO_EOF_SEEN
_IO_ERR_SEEN
_IO_FIXED
_IO_FLAGS2_MMAP
_IO_FLAGS2_NOTCANCEL
_IO_FLAGS2_USER_WBUF
_IO_HEX
_IO_INTERNAL
_IO_IN_BACKUP
_IO_IS_APPENDING
_IO_IS_FILEBUF
_IO_LEFT
_IO_LINE_BUF
_IO_LINKED
_IO_MAGIC
_IO_MAGIC_MASK
_IO_NO_READS
_IO_NO_WRITES
_IO_OCT
_IO_RIGHT
_IO_SCIENTIFIC
_IO_SHOWBASE
_IO_SHOWPOINT
_IO_SHOWPOS
_IO_SKIPWS
_IO_STDIO
_IO_TIED_PUT_GET
_IO_UNBUFFERED
_IO_UNIFIED_JUMPTABLES
_IO_UNITBUF
_IO_UPPERCASE
_IO_USER_BUF
_IO_USER_LOCK
_LIBC_LIMITS_H_
_OLD_STDIO_MAGIC
_POSIX2_BC_BASE_MAX
_POSIX2_BC_DIM_MAX
_POSIX2_BC_SCALE_MAX
_POSIX2_BC_STRING_MAX
_POSIX2_CHARCLASS_NAME_MAX
_POSIX2_COLL_WEIGHTS_MAX
_POSIX2_EXPR_NEST_MAX
_POSIX2_LINE_MAX
_POSIX2_RE_DUP_MAX
_POSIX_AIO_LISTIO_MAX
_POSIX_AIO_MAX
_POSIX_ARG_MAX
_POSIX_CHILD_MAX
_POSIX_CLOCKRES_MIN
_POSIX_C_SOURCE
_POSIX_DELAYTIMER_MAX
_POSIX_HOST_NAME_MAX
_POSIX_LINK_MAX
_POSIX_LOGIN_NAME_MAX
_POSIX_MAX_CANON
_POSIX_MAX_INPUT
_POSIX_MQ_OPEN_MAX
_POSIX_MQ_PRIO_MAX
_POSIX_NAME_MAX
_POSIX_NGROUPS_MAX
_POSIX_OPEN_MAX
_POSIX_PATH_MAX
_POSIX_PIPE_BUF
_POSIX_RE_DUP_MAX
_POSIX_RTSIG_MAX
_POSIX_SEM_NSEMS_MAX
_POSIX_SEM_VALUE_MAX
_POSIX_SIGQUEUE_MAX
_POSIX_SOURCE
_POSIX_SSIZE_MAX
_POSIX_STREAM_MAX
_POSIX_SYMLINK_MAX
_POSIX_SYMLOOP_MAX
_POSIX_THREAD_DESTRUCTOR_ITERATIONS
_POSIX_THREAD_KEYS_MAX
_POSIX_THREAD_THREADS_MAX
_POSIX_TIMER_MAX
_POSIX_TTY_NAME_MAX
_POSIX_TZNAME_MAX
_STDC_PREDEF_H
_STDIO_H
_SYS_CDEFS_H
__FD_SETSIZE
__FILE_defined
__GLIBC_MINOR__
__GLIBC__
__GNUC_VA_LIST
__GNU_LIBRARY__
__INO_T_MATCHES_INO64_T
__OFF_T_MATCHES_OFF64_T
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_ISO_10646__
__STDC_NO_THREADS__
__SYSCALL_WORDSIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
____FILE_defined
____mbstate_t_defined
__codecvt_result___codecvt_error
__codecvt_result___codecvt_noconv
__codecvt_result___codecvt_ok
__codecvt_result___codecvt_partial

Statics

_IO_2_1_stderr_
_IO_2_1_stdin_
_IO_2_1_stdout_
stderr
stdin
stdout
sys_errlist
sys_nerr

Functions

_IO_feof
_IO_ferror
_IO_flockfile
_IO_free_backup_area
_IO_ftrylockfile
_IO_funlockfile
_IO_getc
_IO_padn
_IO_peekc_locked
_IO_putc
_IO_seekoff
_IO_seekpos
_IO_sgetn
_IO_vfprintf
_IO_vfscanf
__getdelim
__overflow
__uflow
__underflow
clearerr
clearerr_unlocked
crfsuite_attribute_copy

Copy the content of an attribute structure. @param dst The pointer to the destination. @param src The pointer to the source.

crfsuite_attribute_init

Initialize an attribute structure. @param attr The pointer to crfsuite_attribute_t.

crfsuite_attribute_set

Set an attribute and its value. @param attr The pointer to crfsuite_attribute_t. @param aid The attribute identifier. @param value The attribute value.

crfsuite_attribute_swap

Swap the contents of two attribute structures. @param x The pointer to an attribute structure. @param y The pointer to another attribute structure.

crfsuite_create_instance

Create an instance of an object by an interface identifier. @param iid The interface identifier. @param ptr The pointer to \c void* that points to the instance of the object if successful, *ptr points to \c NULL otherwise. @return int \c 1 if this function creates an object successfully, \c 0 otherwise. Note that this is inconsistent with the other CRFsuite API calls.

crfsuite_create_instance_from_file

Create an instance of a model object from a model file. @param filename The filename of the model. @param ptr The pointer to \c void* that points to the instance of the model object if successful, *ptr points to \c NULL otherwise. @return int \c 0 if this function creates an object successfully, \c 1 otherwise.

crfsuite_create_instance_from_memory

Create an instance of a model object from a model in memory. @param data A pointer to the model data. Must be 16-byte aligned. @param size A size (in bytes) of the model data. @param ptr The pointer to \c void* that points to the instance of the model object if successful, *ptr points to \c NULL otherwise. @return int \c 0 if this function creates an object successfully, \c 1 otherwise

crfsuite_create_tagger

Create instances of tagging object from a model file. @param filename The filename of the model. @param ptr_tagger The pointer to \c void* that points to the instance of the tagger object if successful, ptr points to \c NULL otherwise. @param ptr_attrs The pointer to \c void that points to the instance of the dictionary object for attributes if successful, ptr points to \c NULL otherwise. @param ptr_labels The pointer to \c void that points to the instance of the dictionary object for labels if successful, *ptr points to \c NULL otherwise. @return int \c 0 if this function creates an object successfully, \c 1 otherwise.

crfsuite_data_append

Append an instance to the dataset structure. @param data The pointer to crfsuite_data_t. @param inst The instance to be added to the dataset. @return int \c 0 if successful, \c -1 otherwise.

crfsuite_data_copy

Copy the content of a dataset structure. @param dst The pointer to the destination. @param src The pointer to the source.

crfsuite_data_finish

Uninitialize a dataset structure. @param data The pointer to crfsuite_data_t.

crfsuite_data_init

Initialize a dataset structure. @param data The pointer to crfsuite_data_t.

crfsuite_data_init_n

Initialize a dataset structure with the number of instances. @param data The pointer to crfsuite_data_t. @param n The number of instances.

crfsuite_data_maxlength

Obtain the maximum length of the instances in the dataset. @param data The pointer to crfsuite_data_t. @return int The maximum number of items of the instances in the dataset.

crfsuite_data_swap

Swap the contents of two dataset structures. @param x The pointer to a dataset structure. @param y The pointer to another dataset structure.

crfsuite_data_totalitems

Obtain the total number of items in the dataset. @param data The pointer to crfsuite_data_t. @return int The total number of items in the dataset.

crfsuite_evaluation_accmulate

Accmulate the correctness of the predicted label sequence. @param eval The pointer to crfsuite_evaluation_t. @param reference The reference label sequence. @param prediction The predicted label sequence. @param T The length of the label sequence. @return int \c 0 if succeeded, \c 1 otherwise.

crfsuite_evaluation_clear

Reset an evaluation structure. @param eval The pointer to crfsuite_evaluation_t.

crfsuite_evaluation_finalize

Finalize the evaluation result. @param eval The pointer to crfsuite_evaluation_t.

crfsuite_evaluation_finish

Uninitialize an evaluation structure. @param eval The pointer to crfsuite_evaluation_t.

crfsuite_evaluation_init

Initialize an evaluation structure. @param eval The pointer to crfsuite_evaluation_t. @param n The number of labels in the dataset.

crfsuite_evaluation_output

Print the evaluation result. @param eval The pointer to crfsuite_evaluation_t. @param labels The pointer to the label dictionary. @param cbm The callback function to receive the evaluation result. @param user The pointer to the user data that is forwarded to the callback function.

crfsuite_instance_append

Append a pair of item and label to the instance structure. @param seq The pointer to crfsuite_instance_t. @param item The item to be added to the instance. @param label The label to be added to the instance. @return int \c 0 if successful, \c -1 otherwise.

crfsuite_instance_copy

Copy the content of an instance structure. @param dst The pointer to the destination. @param src The pointer to the source.

crfsuite_instance_empty

Check whether the instance has no item. @param seq The pointer to crfsuite_instance_t. @return int \c 1 if the instance has no attribute, \c 0 otherwise.

crfsuite_instance_finish

Uninitialize an instance structure. @param seq The pointer to crfsuite_instance_t.

crfsuite_instance_init

Initialize an instance structure. @param seq The pointer to crfsuite_instance_t.

crfsuite_instance_init_n

Initialize an instance structure with the number of items. @param seq The pointer to crfsuite_instance_t. @param num_items The number of items.

crfsuite_instance_swap

Swap the contents of two instance structures. @param x The pointer to an instance structure. @param y The pointer to another instance structure.

crfsuite_interlocked_decrement

Decrements the value of the integer variable as an atomic operation. @param count The pointer to the integer variable. @return The value after this decrement.

crfsuite_interlocked_increment

Increments the value of the integer variable as an atomic operation. @param count The pointer to the integer variable. @return The value after this increment.

crfsuite_item_append_attribute

Append an attribute to the item structure. @param item The pointer to crfsuite_item_t. @param attr The attribute to be added to the item. @return int \c 0 if successful, \c -1 otherwise.

crfsuite_item_copy

Copy the content of an item structure. @param dst The pointer to the destination. @param src The pointer to the source.

crfsuite_item_empty

Check whether the item has no attribute. @param item The pointer to crfsuite_item_t. @return int \c 1 if the item has no attribute, \c 0 otherwise.

crfsuite_item_finish

Uninitialize an item structure. @param item The pointer to crfsuite_item_t.

crfsuite_item_init

Initialize an item structure. @param item The pointer to crfsuite_item_t.

crfsuite_item_init_n

Initialize an item structure with the number of attributes. @param item The pointer to crfsuite_item_t. @param num_attributes The number of attributes.

crfsuite_item_swap

Swap the contents of two item structures. @param x The pointer to an item structure. @param y The pointer to another item structure.

ctermid
dprintf
fclose
fdopen
feof
feof_unlocked
ferror
ferror_unlocked
fflush
fflush_unlocked
fgetc
fgetc_unlocked
fgetpos
fgets
fileno
fileno_unlocked
flockfile
fmemopen
fopen
fprintf
fputc
fputc_unlocked
fputs
fread
fread_unlocked
freopen
fscanf
fscanf1
fseek
fseeko
fsetpos
ftell
ftello
ftrylockfile
funlockfile
fwrite
fwrite_unlocked
getc
getc_unlocked
getchar
getchar_unlocked
getdelim
getline
getw
open_memstream
pclose
perror
popen
printf
putc
putc_unlocked
putchar
putchar_unlocked
puts
putw
remove
rename
renameat
rewind
scanf
scanf1
setbuf
setbuffer
setlinebuf
setvbuf
snprintf
sprintf
sscanf
sscanf1
tempnam
tmpfile
tmpnam
tmpnam_r
ungetc
vdprintf
vfprintf
vfscanf
vfscanf1
vprintf
vscanf
vscanf1
vsnprintf
vsprintf
vsscanf
vsscanf1

Type Definitions

FILE
_IO_lock_t
__FILE
__blkcnt64_t
__blkcnt_t
__blksize_t
__builtin_va_list
__caddr_t
__clock_t
__clockid_t
__codecvt_result
__daddr_t
__dev_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__gnuc_va_list
__id_t
__ino64_t
__ino_t
__int16_t
__int32_t
__int64_t
__int8_t
__intptr_t
__io_close_fn
__io_read_fn
__io_seek_fn
__io_write_fn
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__qaddr_t
__quad_t
__rlim64_t
__rlim_t
__socklen_t
__ssize_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint16_t
__uint32_t
__uint64_t
__uint8_t
__useconds_t
_bindgen_ty_1
crfsuite_dictionary_t

CRFSuite dictionary interface.

crfsuite_logging_callback

Type of callback function for logging. @param user Pointer to the user-defined data. @param format Format string (compatible with prinf()). @param args Optional arguments for the format string. @return int \c 0 to continue; non-zero to cancel the training.

crfsuite_model_t

CRFSuite model interface.

crfsuite_params_t

CRFSuite parameter interface.

crfsuite_tagger_t

CRFSuite tagger interface.

crfsuite_trainer_t

CRFSuite trainer interface.

floatval_t

Type of a float value.

fpos_t
off_t
va_list

Unions

__mbstate_t__bindgen_ty_1