A program for sentence-structure determination is part of a system for linguistic computations such as machine translation or automatic documentation. The program can be divided into routines for analysis of word order and for testing the grammatical connectability of pairs of sentence members.