The natural language processing is recently a very discussed topic in computer science. The main idea is an understanding of human languages by computers.
In this work-in-progress paper, we propose the algorithm for creation of a tree structure of the Slovak sentence. The tree structure of a sentence represents the relationships and dependencies between words in a sentence.
The root of the tree is a predicate. Understanding a structure of sentence is important for other natural language processing tasks, such as semantic analysis.
There are many different types of sentences in the Slovak language, which we took into account for creating the algorithm. For example, a multiple sentence member, compound sentence, compound predicate and others.
Our algorithm correctly analysed 85 sentences from 100 different sentences.