текст

Ukkonen's algorithm. Linearization of a cyclic string

Suppose I built a suffix tree... I need "Linearize a cyclic string, that is, find the lexicographically minimal section of t ... yclic string" Who has any ideas - how to do it (algorithm)? You can also explain - what is the section of the cyclic string

How do I recognize text from an image?

I have such a problem. I want to write a program for recognizing and reading text from an image (like a captcha). I use Pytho ... library should I use and how can I read the text without downloading the image itself (when it just appears in the browser)?

Changing the color in random positions in C#

Recently, I got a New Year's mood (mda in early December), I hope it will not disappear as usual at the end of the year. I ju ... rov) I added SetCursorPosition to my code, it turned out better, but how do I make it randomly put only in the filled fields?

Automatic text formatting in Excel 2003

I'm new to the forum, don't know if I can ask a question on Excel here? In general, I have a large list of surnames and numb ... 5 in the third. And also change the font of the numbers at these intervals. How do I do this? Please help me. P.S. Excel 2003

Creating a dictionary based on data from a python txt file

There is a txt file with the data collected: UUU F CUU L AUU I GUU V UUC F CUC L AUC I GUC V UU ... string is the key for the value that has not yet been created. We need help in implementing such a dictionary for later use.

Put a colon in the text field that does not fit in

On many sites, you can see that the text that does not fit is truncated, a colon is placed, and the link "read more"is added. ... y, but it cuts off immediately on the first line. How to ensure that the text is cut off on the 3rd or 4th line, for example?

how do I change the theme in sublime text 3 completely?

Help me change the sublime theme itself as in the first picture and then the classic one is already pretty fed up

How to edit the repeated code in each of the files

The problem is that I got to maintain one site that is disgusting written. There are about 40-50 files where the same menu is ... e of items and change the links. What can you tell me? Are there any special utilities in some PhpStorm? Or some third-party

C. Why is the dimension of the matrix from the text file not written to memory?And how to do it?

In the program where I did not use the function, but wrote everything in the program body, there were no problems.Everything ... ing\n"); for (i = 0; i < r1; i++) { for (j = 0; j < c2; j++) printf("%3d ", C[i][j]); printf("\n"); } return 0; }

Text under the CSS image

There is a question: there is a block where there are four blocks in them, a picture and text under each picture. The text fl ... gt;ТекстТекстТекстТекстТекст</h3> </div> </div> According to the style code, I used flex-s.

Count the number of sentences in the text

Hello! Please tell me the solution to my problem. I am trying to make it so that from the text that is read from the file, I ... } } } reader.close(); System.out.println("The number of sentences is " + sentenceCount); } }

How do I enable the display of hidden files in the VIM?

Nerdtree stands, but the tree does not display files starting with a dot (.env,, htaccess), please help

C#multithreading. Output to TextBox

There is a file with a large number of lines. The output of the file is performed in a line-by-line loop. But due to the fact ... { textBox3.Text += line + "\r\n"; line = file.ReadLine(); }

Align text in the center (vertically) of a div with display: inline-block

Align the text in the center (vertically) at div with display: inline-block. When using vertical-align, the position of the block itself changes. Is it possible to do this without wrapping the text in <p>?

How to apply text to an image in html?

<!DOCTYPE html> <html> <title> Наука.ру - главная </title> <body> ... > </body> </html> It is necessary that and are displayed directly on the image, and not under it.

why doesn't margin work?

I'm just starting to learn how to work with sites, I'm faced with the problem of centering the site itself in the center , I ... ediately set the width and center alignment of the site in % I look forward to help, and I would love to learn from someone!

How to remove the indent at the top and bottom of the text

How do I remove the indent at the top and bottom of the text? The problem image is attached.

Text classifier by speech style

Hello. The task is to develop a text classifier based on the style of speech (artistic, journalistic, etc.). It is necessary ... ate the source text into a vector of characteristics that the classifier will eventually work with. How can this be done?

The text (jquery) method treats the '\n ' character as a space

$('#news_title').keyup(function(){ var s = $(this).val(); $('#format').text(s); $( "#format" ) ... se, if instead of .text method .val (co-responsibly, instead of div, the second textarea), \n is perceived as a hyphenation.