GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TCQMGR (1)

NAME

tcqmgr - the command line utility of the q-gram database API

CONTENTS

Description
See Also

DESCRIPTION

The command ‘tcqmgr’ is a utility for test and debugging of the q-gram database API and its applications. ‘path’ specifies the path of a database directory. ‘etnum’ specifies the expected number of tokens. ‘id’ specifies the ID number of a record. ‘text’ specifies the text of a record. ‘word’ specifies a search word. ‘file’ specifies the input file.

tcqmgr create [-tl] [-td|-tb|-tt] path [etnum]
Create a database fie.

tcqmgr inform [-nl|-nb] path
Print miscellaneous information to the standard output.

tcqmgr put [-nl|-nb] [-rc] [-ra] [-rs] path id text
Store a record.

tcqmgr out [-nl|-nb] [-rc] [-ra] [-rs] path id text
Remove a record.

tcqmgr search [-nl|-nb] [-rc] [-ra] [-rs] [-eu|-ed] [-sp|-ss|-sf] [-max num] [-ph] path [word...]
Search for records.

tcqmgr optimize [-nl|-nb] path
Optimize a database file.

tcqmgr importtsv [-ic num] [-nl|-nb] [-rc] [-ra] [-rs] path [file]
Store records of TSV in each line of a file.

tcqmgr normalize [-rc] [-ra] [-rs] text
Normalize a text.

tcqmgr version
Print the version information of Tokyo Dystopia.

Options feature the following.

-tl : enable the option ‘QDBTLARGE’.
-td : enable the option ‘QDBTDEFLATE’.
-tb : enable the option ‘QDBTBZIP’.
-tt : enable the option ‘QDBTTCBS’.
-nl : enable the option ‘QDBNOLCK’.
-nb : enable the option ‘QDBLCKNB’.
-rc : do not normalize character cases.
-ra : do not normalize characters with accent marks.
-rs : do not normalize white-space characters.
-eu : use the union expression.
-ed : use the difference expression.
-sp : use the prefix matching mode.
-ss : use the suffix matching mode.
-sf : use the full matching mode.
-max num : specify the maximum number of the output.
-ph : print hints also.
-ic num : specify the capacity size of the token cache.

This command returns 0 on success, another on failure.

SEE ALSO

tcqtest(1), tcqdb(3)

Search for    or go to Top of page |  Section 1 |  Main Index


Man Page TCQMGR (1) 2010-08-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.