In [1,2,3] texts (sign sequences with repetitions) were transformed (coordinated) into algebraic systems using matrix units as word images. Coordinatization is a necessary condition of algebraization of any subject area. Function (arrow) (7) in [1]) is a matrix coordinatization of text. One can perform algebraic operations with words and fragments of matrix texts as with integers, but taking into account the noncommutativity of multiplication of words as matrices. Structurization of texts is reduced to the calculation of ideals and categories of texts in matrix form.

This article defines the concept of a matrix word in context. Words-signs in repetition may have different fragments of text between them (contexts), and words that are the same in spelling and sound - have different senses (as homonyms). In a text, all repeated words can be homonyms if their contexts differ by an appropriate measure (modulo). Conversely, words different in spelling and sound can have similar contexts and different measures of synonymy. The frequency of keywords in semantic analysis is more appropriately defined as the frequency of contexts comparable by an appropriate measure than as the frequency of word-signs, like letters of the alphabet. When calculating the semantic frequency of words taking into account the context, different word-signs with the same contexts should be summed in the frequency calculation and, conversely, the same word-signs with different contexts should be excluded.

Matrix words are complemented by context multipliers. These multipliers due to the properties of matrix units do not lead to the change of words as signs but contain signs that affect the sense of the defined words. Context multipliers are present in matrix words, but do not affect the signs. Multipliers contain relations (according to Frege) with other signs (part of the properties of these signs is their sense in a given context). The semantic similarity and difference of words can then be calculated by comparing (matching) these multipliers-contexts.

To perform algebraic operations with matrix words in context, concordance (concordance) - a semantic concordance of signs and text fragments, which depends on the measure (module) of concordance - is required. Matrix words can add up to a text if their contexts have a common measure (module). The invariants of matrix texts that retain their sense when words and text fragments are replaced by consonant ones are increasing and decreasing Noether chains. Noether chains allow to make systems of algebraic equations for transformations of texts preserving their sense.

## The word in context

Suppose there are two repeated words and (the second *j* coordinate is the number from the dictionary, the first coordinates *i _{1}* and

*i*– are the word numbers in the text) and a fragment of the matrix text between these words (context):

_{2}where each *k _{m}* – is the number of the word in the dictionary (9) in [1], . Because of the coordinate rule (7) in [1] any km in (1):

Because

In the case of *i _{2} = i_{1} + 1* fragment zero. For example, in the polychrome "..." in (1) the context of each dot is missing, and then the sense (context) has not each dot, but three dots as a whole, like a word (sign) in the dictionary. In this case the dot is also a sign from the dictionary of the text. Between two dots that are not adjacent, there is a non-zero text fragment (a sentence, as the corresponding context of each dot). Thus, even dots in the text, although they look the same, have different sense-context (as homonyms). Similarly, signs of paragraphs, paragraphs, and, generally speaking, all words have different senses in the text if they are repeated. Conversely, if words have the same appropriate measure (modulo) of context, but these words are different as signs, then they can be considered close in sense (synonyms). For example, «...», «so on», «etc».

Highly likely, in order to achieve universal incomprehension among the builders of the Tower of Babel, it was superfluous to force them to speak different languages. There is no universal understanding in a single contextual language, either; we need semantic (contextual) interpreters.

In short in the context of is called an expression:

where *E* is a unit matrix. Because of (2):

The product to the right of any summand from (1) by is zero.

Multiplier does not cause (6) to change the sign of , but can be used to compare two (not necessarily repetitive) words and by comparing their contexts and . This semantic comparison of words in the text by context (sense) will hereafter be referred to as concordance (concordance) by sense of words.

## Word concordance

Let there be two words and numbered and from the right text dictionary in contexts and between pairs of repeating words:

Where and -- right context dictionaries and , , and , -- numbers by pairs of repeating words. Hereafter, all dictionaries are taken as right-handed and the index is not specified.

Two words can be concordant (agreed) both by the intersection of the word contexts (2) in [3] and by the association (3) in [3]. In what follows, only the intersection of contexts will be considered. Algebraically descriptions for union and intersection coincide. For application, their purpose is different. A human, due to natural physical limitations, can hold only a few entities (about seven) at a time in the process of understanding. Such an operation of thinking as abstraction is used to reduce the variety of the world to this number. Concordance by intersection is a mathematical explication of the process of abstraction in the form of reduction (4) in [3]. The limiting case of abstract concepts of natural language is logical categories (Aristotle, Kant, Hegel). Hierarchical continuity of concepts (words) is necessary for construction of part-whole relations (relations of understanding).

Concordance by association (3) in [3] increases essences. But their number matters only for humans. For machine languages this restriction is not essential. Therefore, concordance on unification can be applied to interaction of machines as well as to future collective mind of human population (according to P.G. Kuznetsov), for which it is necessary to create technologies of collective understanding. At present, acceptable understanding is achieved in teams of programmers. For collectives of five or more, such as physicians (according to T. and B. Buzan), there is no single term that they understand in the same way. In mathematics, seemingly the universal language of mankind, with ideal objects not changing in time (P.G. Kuznetsov), specialization has reached such a level that territorially distributed teams of three or four people understand each other completely.

Concordance by intersection will be called simply concordance. Two words (7) and (8) are concordant (consistent) («dot over tilde») on the intersection of the right-hand dictionaries and contexts and :

if the intersection of two dictionaries:

Expression (9) means that the words and are similar in the sense that their contexts and have a common vocabulary . The consistent contexts are the contexts after the reduction (4) in [3]:

Each reduced context contains all the words from the dictionary . Indeed, for any word , available in , but absent in the :

where -- part of the context after deleting the word . *N* words are concordant if each pair is concordant:

and the work of the dictionaries

Concordance ratio is an equivalence relation since the reflexivity and symmetry conditions for the matrices are satisfied, and the transitivity of the relation follows from (14) and (15).

The measure (module) of concordance is (15). It is this modulus that explains the appearance of the term "modulo concordance" by analogy with the term "modulo comparison" for integers. Just as different integers can be equal modulo, so different (as characters) words in a text can be equivalent (interchangeable) modulo concordance. This means that if words have concordant contexts, then the words have concordant sense and can be considered equivalent (interchangeable in sense in the text).

Words and their sums can be concordant modulo. On concordance relations, like equality and comparison modulo, it is possible to compose systems of concordance equations. The unknowns can be definable and determinable words, concordance moduli, contexts, and text fragments. Concordance equations allow to calculate answers to such questions: in what sense (here the unknown is the module of concordance) are words and texts concordant? If the sense (modulus) is given, what set of words do we replace with other words? In this way, it is possible to compute word definitions and sense versions of texts. Find interchangeable words, compute semantic markup and text structuring, annotation text drafts, and semantic text translation (even of the same language). New functions of text editors and readers, messengers and social networks can be based on these computational capabilities. In the latter case, it is possible, by compiling a personal contextual dictionary of a user-participant according to his messages, to accompany communication with semantic translation of text and sound through the personal contextual languages of other participants.

## Concordant addition

The concordant addition of the pair of words (7) and (8) is the expression:

At the same time, according to (6):

Because and - are parts of fragments and , then:

Thus, is a concordant context for the sum of words. The matching module is a common dictionary of two contexts . Concordant addition of *n* words:

where the ellipses in the indices means the number of the repeating word to the left of the number , -- the product of the right context dictionaries .

## The word in a refined context

Two words are concordant (9) if the right dictionaries of their contexts have a non-zero overlap (10). But each word of these contexts is also a word in the context (5). Therefore, mutual concordance of the defined word with the defining words is necessary. According to V.A. Lefebvre, this reflexivity is the cause of the ambiguity of natural language and texts' interpretations («I think that they think that I think that ...»).

A mathematical explication of reflexion is the latent semantic nonlinearity of linearly ordered word-signs. Perhaps, in the future, linguistic texts will cease to be linear and oneedimensional. Note texts, for example, are 5-dimensional, although they can also be transposed into one-dimensional stan-"thread", but this will turn note texts into monstrously incomprehensible codes with dictionaries comparable to the dictionaries of language texts. Such one-dimensional music texts, like language texts, would require a semantic gestalt translation, not just a personal intonation translation, as for 5-dimensional music texts. In a future multidimensional language text, it will be possible to point to the sense chains of revealing the sense of words and text fragments, rather than to recognize them intuitively or with the help of fast reading know-how.

Context (1) in the definition of the word (5) can be regarded as the concordant sum of matrix words (21), since each summand word in (1) also has its own context. Then the word in such a refined context for (5) has the form:

where

-context dictionaries ,

-fragment-context dictionary .

The word in the refined context (22) is a matrix bilinear form in .

Two words of the form (22) are concordant in the refined contexts if the intersection (product) of all vocabularies of all contexts of both words

where and -- the products of all dictionaries (23) and (24) of the first and second word.

There can be n words concordant on refined contexts if each pair is concordant. The module of concordance is the product of all vocabularies of all contexts of all forms.

There can be concordant sums of words (text fragments) (21) over refined contexts if each pair of sums is concordant.

A pair of word sums is concordant if the product of the vocabularies of all contexts of all words of the pair of sums is different from zero.

If the modulus of concordance, as the product of the dictionaries of all refined contexts of all words as bilinear forms (22), is nonzero, then the text of these words is concordant.

## Concordance classes

All words and fragments of the matrix text can be decomposed into concordance classes. Each word numbered to the text in the form (22) corresponds to the multiplier on the left:

To each text fragment , as any in (25), corresponds to its vocabulary

The multipliers (26) on the left for in (22), as well as . To the right for in (27), exist, but do not change or . In this case, the multipliers are uniquely determined from the text by its fragments. The absence of multiplier influence on signs is a necessary condition, but not sufficient for concordance relations. A sufficient condition is that those not affecting the signs and the multipliers (25) on the left and to the right (26) are a single-valued function (property) of the text.

To each pair of words and in the form (22) with the numbers and in the text corresponds to the module (kappa) concordance is the product of all vocabularies of all refined contexts of both words (25).

Each pair of text fragments and corresponds to the module concordance is the product of all dictionaries of all refined contexts of all words.

To each pair and of the word form (22) and the text fragment corresponds to the module concordance –- the product of all dictionaries of all refined contexts and .

Conversely each module, (class name) corresponds to a set of refined contexts, a set of words corresponding to these contexts according to (22) and a set of text fragments having a vocabulary equal to . All these three sets are mutually concordant and all their elements are elements of one concordance class .

The set of all concordance classes modulo is the Boolean set of all n words of the text dictionary or all its partial sums (fragment dictionaries). The number of all partial sums .

The belonging of such elements to one class means that there exist matrices of transformation of elements into each other. Indeed, if the set of refined contexts, the set of words corresponding to these contexts according to (22) and the set of text fragments have one vocabulary equal to , then all these elements are similar to each other (20) in [1]. In this case, the common object of transformations in refined contexts and text fragments are matrix polynomials (31) in [1].

Reciprocal transformations of refined contexts, words corresponding to these contexts and text fragments having the vocabulary equal to , the following:

1.Conversion of a pair of refined contexts of the form (26)

Let there be two matrix texts (28). Because they belong to the same class, they have the same modulus or, what is the same, have the same right dictionaries. But matrix texts having the same dictionaries form ideals (multiples of the dictionary) by (37) in [1]. There always exists a matrix polynomial whose multiplication on the left-hand side by one refined fragment (28) results in a refined fragment of the form (28):

To the precision of this matrix multiplier the two refined fragments are indistinguishable (interchangeable).

2.Conversion of words in a refined context of the form (22). Let there be two words:

Since the words are concordant (have a common vocabulary , as the product of all dictionaries of all refined contexts (14)), then:

Like comparisons of integers, the concordance of matrix units (31) can be written through the equality:

3.Conversion of words and contexts.

Let there be a word and a context:

Word and context (33) are concordant if they have a common modulus :

Or in the record with equality:

where is understood as a concordant transformation of words (32).

The transformation of words and text fragments reduces to (35), because text fragments are matrix polynomials (31) in [1], as well as contexts. This means that (34) is the formula for calculating the naming of a text fragment by a word belonging to the concordance class . And vice versa, word definition by text.

## Noether sense chains

The concordance classes are distinguished by the words included in the dictionary . Let a sequence of dictionaries be given:

such that neighboring dictionaries are distinguished by one word :

Concordance class (capital kappa) for each -- is the set of all words in the refined context, all refined contexts, and all text fragments with a common vocabulary . Elements are mutually substitutable by formulas (29), (32) and (35).

Let there be classes of concordance , corresponding to (36). Then:

And vice versa,

for these , that

In dictionaries (36) and (37) there is an increase of words in the dictionary from left to right in (36). In dictionaries (36) and (40) -- there is a reduction.

The sequence of nonempty subsets (38) the corpus of texts compiled from (the dictionary of the corpus of all texts) is ascending, because each of them is a subset of the next one.

Conversely, the sequence of subsets (39) is decreasing, since each of them contains the next subset.

A sequence is said to stabilize after a finite number of steps if there exists such that for all , . This is the case for matrix texts -- there is no larger dictionary than the dictionary of all texts . The set of subsets of a given set (or ) satisfies the condition of breaking of increasing chains, since any increasing sequence becomes constant after a finite number of steps.

Any decreasing sequence (39) becomes constant after a finite number of steps, since the dictionary has a minimal set - one word, hence the set of subsets (39) satisfies the condition of breaking of decreasing chains.

In general algebra, objects are called nether objects if they satisfy chain breaking conditions. Amalie Emmy Noether has made masterly use of the cliff-chain technique in her many cases. Objects such as concordance classes are also neoteric.

Noether chains can also be defined for word order in a text. Relative word order is essential for texts. For example, «incidental in the necessary» differs in sense from «necessary in the incidental» or «mom's dad» and «dad's mom». For musical texts and codes, the order of characters is as significant as the characters themselves.

The concordance module is a fragment of the vocabulary of the text. For a dictionary, the word order is insignificant. Therefore, the concordance class contains elements without taking into account the order of words in text fragments. The word order can be taken into account through the available subclasses of the concordance class as follows.

Let there be two words:

Word is in the text to the left of , if there exists such a matrix unit:

such that:

In this case the set of matrix units:

is a subset of:

If the word is in the text to the left of , then in terms of (47):

Let there be a matrix polynomial:

Expression (50) defines a concordance class with the following description:

1.The elements of the class are polynomials having a dictionary , with any first monomial coordinates.

2.A subclass of elements with such first coordinates that:

3.A subclass of elements with such first coordinates that:

For the matrix polynomial:

concordance class is defined by the dictionary (module) and consists of subclasses considering the order of words. The order subclasses are defined by ascending or descending Noether chains for the first coordinates of matrix monomials in the left dictionary texts (12) in [1]. Expression (50) corresponds to this definition of the left-hand dictionary. For the left-hand dictionaries there are also the Noether chains, as for the right-hand dictionaries (36).

The Noether chains for words and their order are semantic invariants of the text, preserved by appropriate concordant word substitutions in the text (retelling the text in one's own words), substitutions of fragments with words (abstracting and annotating), substitutions of words with fragments (bot-writing). The invariance comes from the fact that netter chains are constructed by left or right dictionaries of matrix polynomials. The invariance on the Noether chains of the right dictionaries means that the places of words in the text are not important for the sense of the text, what matters is the system of their context correspondence as a function of embedding (taking into account the order of words within *n*--grams). Invariant on the Noether chains of the left dictionaries means that for the structure of the text the words from the right dictionary are not important, the system of their structural correspondence as a function of embedding the left dictionaries of the text-forming fragments (structural pattern of the text) is important.

The text Noether chains are more preferable for semantic analysis than frequent keywords, because they take into account the contexts of words, and also reveal patterns of disclosure of the system of concepts in the text through the sequence of nesting of their content (context) - this is the above-mentioned hierarchical continuity of concepts (words). Logical, ethical and aesthetic categories of natural languages can be calculated as Noether chains of sense.

If the Noether semantic chains are defined as target functions (sequences of embeddings), it is possible to compose systems of equations on variables of bilinear forms (22). Because the variables in (22) are pairwise meshed with each other (pairwise nested in Noether chains), a system of quadratic equations on words in a refined context, their contexts and text-forming fragments as unknowns of such equations can be composed.

## The equalizers of sense

In category theory, the following model is called an equalizer (a generalization of the equation) with respect to matrix text fragments. Let four object-fragments be given , , , , where , , , -- fragment dictionaries. Objects and are connected by a pair of morphisms and :

This means that the dictionary -- this is part or all of the vocabulary . and may differ from each other because of the fact that in the there may be repetitions of words. Then there is no unambiguity in (10) -- the transformation of fragments (the result depends on which of the repeated words is used to convert a fragment into a word ). The third object-fragment *F _{3}* and morphism

*F*(function) is called an equalizer and , if at concordant and :

_{3,1}At the same time, for any other object , satisfying the same requirements:

which and , there is a single morphism :

Such that:

An essential difference between the above definition for the equalizer of matrix fragments and the canonical definition of the equalizer for the Set category, for instance, is the replacement of the equality relation by the concordance relation. But since equality and concordance relations are equivalence relations (have properties of reflexivity, symmetry and transitivity), such replacement is admissible and satisfies the axioms of the category [3].

The reason for using concordance is as follows. For (51) it is required to find the third text fragment and its corresponding matrix polynomial-transformation such that, when multiplied by it on the right, the ambiguity in (51) ( or ) is eliminated. Since in the monomials of matrix polynomials or both coordinates refer to the position of words in the text, then and -- this is the concordant selection rule for repeated words, which eliminates the ambiguity in (51).

If words are considered in a refined context, the semantic distinction of repeated words in the text and their concordance on refined contexts are used to achieve this unambiguity.

A system of equations for fragments in refined contexts (a word is a special case of a fragment) can be composed in three ways:

1.According to the correlation of the concordance of text fragments in refined contexts (28) -- (35):

where and different words and text fragments. For example, it is the concordance of the title of the text and the whole text or parts of the text (paragraphs, chapters, etc.), parts of the text (e.g., the abstract and the whole text, the first paragraphs of paragraphs, etc.). The listed combinations of fragments are denoted by the numbers from (56) and are the corresponding numbers of equations in the equation systems of the text.

2.By the Noether chains of text fragments and their ordering. The equations in this case are recurrent and are defined by formulas (37) or (40). Recurrence on the first coordinates determines the sequence of text fragments (structural pattern of the text). Recurrence on the second coordinates determines the sequence of fragments by continuity of sense (contextual table of contents of the whole text and its sections). Each Netter chain defines an equation in a system of equations.

3.The combination of the two clauses above.

According to (22), systems of equations have the general form:

Systems of equations (57) are either systems of linear or quadratic equations on *F*, depending on which fragments of in (57) are taken as unknowns. The set and unknown quantities in (57) are matrices. For the linear case, there are matrix versions of the Gaussian method for solving systems of linear matrix equations. For systems of quadratic matrix equations, there is also a generalization of the Gaussian method of eliminating the unknowns and reductions in systems of equations with many unknowns to an equation with one unknown and formulas for the relation between the unknowns.

## Exact linearization of equations

In [4,5] a method of exact linearization and solution of systems of nonlinear algebraic equations over the field of real numbers was developed. The system of quadratic equations is a particular judgement. You can reduce a system of quadratic equations to a system of linear equations without loss of generality or accuracy.

For example, let a quadratic equation be given ( , , are real numbers):

and four matrix units (1) in [1]:

The matrix units (58) have the following properties:

where -- unit matrix,

From formulas (60) -- (63) it follows that the permutation properties of matrix pairs, and , are opposite. Squares , are equal to the null matrix, and their sum of products in different orders (the anticommutator (61)) is equal to the unit matrix. Conversely, for the elements , their squares are equal to the unit matrix, and the anticommutator is equal to the zero matrix.

If we use the properties of the Kronecker (direct) product of matrices:

then the linearized equation (58) is the expression:

where is a Cartan spinor (simplified, a nonzero column of, in general, complex numbers). The square of the matrix factor in (65):

where is a 4x4 unit matrix. Properties of matrices (64) in the product leave the product and remove and . Rearrangement properties (65) leave and , and remove in

In the theory of comparisons of integers, an analogy with logarithms is made for the index of a class of deductions. The sense of the transformation (57) in (66) can be conventionally represented as:

The permutations of operations (67) over the field of real numbers are impossible, but over the algebra of unions (hypercomplex numbers) are natural. The elements and (unions) are matrix generalizations of complex numbers, and exact linearizations (67) are possible, but the price to pay is that the coefficients and in the linear in equation (65) become noncommutative.

Algebra unions, exact linearization of systems of algebraic nonlinear equations over the field of real numbers, and the unionic generalization of the Gauss method of eliminating unknowns are described in detail in [4,5].

For the exact linearization and solution of systems of concordant equations (56) it is necessary that the symbols in (56) commute with unions and , and the unknowns were squared in expression (56). The second requirement is necessary to exclude the unknowns, since , while -- have no inverse. This requirement is easy to fulfill, because for matrix text fragments the (10) in [1]. The first requirement can be satisfied by using the property of the Kronecker (direct) product of matrices:

Fragments and unions , , and and are permutable with each other due to a corresponding increase in the dimensionality of the matrix units used.