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  -  NEXTWORD (1)

nextword

NAME

nextword
- display next predicted words (in reverse order)

CONTENTS

SYNOPSIS

nextword [-t] [-r] [-s spname] [-v] {prefix}

DESCRIPTION

Given a partial (part of) sentence from the end, it outputs the next words allowed in the specified grammar.

.dfa, .dict and .term files are needed to execute. They can be generated from .grammar and .voca file by mkdfa.pl.

Please note that the latter part of sentence should be given, since the main 2nd pass does a right-to-left parsing.

OPTIONS

-t

Input / Output in category name. (default: word)

-r

Enter in reverse order

-s spname

the name string of short-pause word to be supressed (default: "sp")

-v

Debug output.

EXAMPLES

Exmple output of a sample grammar "fruit":

% nextword fruit
Stat: init_voca: read 36 words
Reading in term file (optional)...done
15 categories, 36 words
DFA has 26 nodes and 42 arcs
-----
command completion is disabled
-----
wseq > A BANANA </s>
[wseq: A BANANA </s>]
[cate: (NUM_1|NUM_1|A|A) FRUIT_SINGULAR NS_E]
PREDICTED CATEGORIES/WORDS:
                    NS_B (<s> )
                    HAVE (HAVE )
                    WANT (WANT )
                    NS_B (<s> )
                    HAVE (HAVE )
                    WANT (WANT )

SEE ALSO

mkdfa.pl ( 1 ) , generate ( 1 ) , accept_check ( 1 )

COPYRIGHT

Copyright (c) 1997-2000 Information-technology Promotion Agency, Japan

Copyright (c) 1991-2008 Kawahara Lab., Kyoto University

Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology

Copyright (c) 2005-2008 Julius project team, Nagoya Institute of Technology

LICENSE

The same as Julius.

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


NEXTWORD (1) 10/02/2008

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