Most voted "text-pattern" questions
6 questions
Sort by count of
-
5
votes1
answer723
viewsFind all instances of a pattern in a text
I need to write a program that identifies a lowercase letter surrounded by three uppercase letters on each side. For example: "AEIoSDE" == "o" I wrote the code as follows: # coding: utf-8 letra =…
-
4
votes1
answer865
viewsHow to use natural language processing in Portuguese with C#?
I need to find names of people and organizations in the text. I found that I need to use natural language processing for this, but I was only able to implement it in English using Stanford NLP for .…
-
2
votes2
answers822
viewsHow to delete the last line of a text file in C language
Guys, I’m having a question about how I should delete the last line of a file using the C language. Could someone please help me. Below, follow my code. int quantidadeDeUsuarios = 0; Usuario…
-
0
votes1
answer384
viewsHow to calculate similarity (in percentage) between strings in PHP?
I would like to know how to calculate the similarity, in percentage, between two strings with PHP? For example: I got you a present! I want some presents from you!…
-
0
votes1
answer666
viewsWord processing in csv file
I have a database with over a thousand opinions (text) in a csv file, however I need only texts that contain more than 5 words to stay in my file. The problem is to make a code that goes through the…
-
0
votes1
answer449
viewsText mining with Scikit-Learn
I’m doing some research in the area of feeling analysis, so I’m running some tests on a text database to get results. I was looking for tutorials among other forms of information on the internet and…