text(3) — UNIX Programmer’s Manual
NAME
utilities for textual analysis, indexing, searching, and file analysis
SYNOPSIS
#include <text/libtext.h>
DESCRIPTION
The text library, libtext, provides a variety of utilities for textual analysis, indexing, searching, and file analysis. The link editor searches this library under the "-ltext" option. Declarations for the functions in libtext may be obtained from the master include file <text/text.h>.
SUMMARY
The text library comprises:
ArrayFromFile(3)
simple string-array functions, including ArrayFromFile, ArrayFromString, and FreeStringArray.
fileutil(3)
file utilities, including fdSize, fdWrite, fileInode, fileMode, fileSize, filetab, filetype, filetypeFromDesc, filedescFromType, firstLine, isDirectory, isManPage, and writeDate.
ix(3) inverted index access functions, including _ixUnlink, ixUnlink, ixFlush, ixClose, ixOpen, ixOpenArray, ixOpenParent, ixWriteFileCell, ixNewFileCell, ixFreeFileCell, _ixReadFileCell, ixReadFileCell, ixWriteStatus, ixRemoveFileCell, ixRemoveFileCellById, ixRemoveFileCellByName, ixCopyFileCell, ixInitFileCell, _ixGetRegistration, ixGetRegistration, ixGetRegistrationId, ixGetRegistrationFileCell, ixGetRegistrationDate, ixPutRegistration, ixClearRegistrationByName, ixClearRegistration, ixPrintFileCell, ixPrintFileCellById, ixPrintRefList, _ixStopWordCheck, _ixStopWordEnter, _ixLoadStopWordTable, ixLoadStopWordTable, _ixAssociate, ixAssociate, ixAssociated, ixAddFileCell, ixSortRefList, ixClearRefList, ixGetRefList, ixParentFolder, and ixFullPath,
pathutil(3)
path name utilities, including basename, directoryApply, directoryStat, directoryUnlink, AbsolutePath, filenameToRegex, findPath, fullPath, newDatedFilename, parentname, setPath, addPath, getPath, pwd, and referencePath.
search(3)
searching utilities, including findWord, BinarySearch, binarySearch, uselessToGrep, bm_compile, and bm_match.
sopen(3)
functions for opening streams on files or pipes, including sopen, sclose, and isapipe.
spell(3)
spelling correction functions, including SPbestpath, SPbestmatch, SPmorgan, and SPwagfishc.
strutil(3)
string utilities, including blank, hasdigit, haslower, hasupper, strtolower, strtoupper, strindex, strsave, and translate.
webster(3)
functions providing access to the Merriam-Webster database, including referenceOpen, referenceClose, nextDefinition, getDefinition, getNextDefinition, freeDefinition, and putDefinition.
wftable(3)
word frequency table functions, including isFunctionWord, suffix, wordPeculiarity, wordFrequency, wordCount, wordRank, wordStat, DefaultLanguageWFTable, makeWFTableFromHistogram, findWFTable, readWFTable, writeWFTable, and freeWFTable.
SEE ALSO
ArrayFromFile(3), fileutil(3), ix(3), pathutil(3), search(3), sopen(3), spell(3), strutil(3), webster(3), wftable(3)
4th Berkeley Distribution — July 7, 1989