Questions tagged as 'texto'

1
answer

Stopword does not work

Hello, I made the program that is used to do basic text preprocessing for use in text mining tools. It should be something trivial, but I can not see where it might be wrong. ##################################################### ## ## Exemp...
asked by 01.10.2018 / 19:03
1
answer

How to find if there is a word inside a text in R

I need to know if there is a specific word inside a certain text, for example fnord . So far I've only found: x<-"fnord: Você não tem nivel de acesso a está informação." strsplit(x, "[[:punct:] ]") [[1]] [1] "fnord" ""...
asked by 24.07.2018 / 21:42
2
answers

string formatting

I have the following string: JOSÉ CARLOS ALMEIDA (0-2) 1 I need to remove the text and spaces and leave (0-2) 1 This way I can deal with trim , split etc ... But my string will not always be the same as the times...
asked by 13.03.2017 / 18:37
2
answers

Substitution in a text by words from another file

That should be easy, but I can not find a solution! It is as follows: File1 - with texts: Doc Texto doc1 Isto é um teste para substituições de palavras. doc2 As casas são parecidas. File2 - Reference: Termo Termo_pai é...
asked by 29.07.2018 / 17:12
1
answer

Similarity of Texts

Good evening guys, I would like a help from you, as I'm starting in R, and I have a demand, where I have to signal the lines where you have the similar phrases. For this, I am using the stringdist library. However, I can only make the comparison...
asked by 18.01.2018 / 02:57
1
answer

Remove repeated words using python

I have a text file with many words repeated. I need every word in the file to appear only once. import codecs wordList = codecs.open('Arquivo.txt' , 'r') wordList2 = codecs.open('Arquivo2.txt', 'w') for x in range(len(wordList)) : f...
asked by 06.09.2017 / 01:42
1
answer

problem with R enconding

I've been asked to do text analysis and am having trouble with encoding, does anyone know how I can translate these strings directly? Example of how the file is appearing: vocês dizerem que não!!! Até quando Another example: â¤ï¸(.....
asked by 08.12.2017 / 16:06
1
answer

Python - filtering data into text files

I'm trying to write a code to read a .txt file and extract numeric coordinates, except that this file contains lines with text as well. I can not do the filter. see a part of the file. So far I have been able to write the following: file...
asked by 06.06.2017 / 23:56
1
answer

Help in Jquery code type text alone

I found the code on the internet to type a text by jquery alone, but I want to add a delay in it to just start typing when the page scrolls in the section I want, how to add this function? js code var div = document.getElementById('texto');...
asked by 22.03.2018 / 23:27
1
answer

VBA: Placing a space before or after uppercase letters in a given text

I have a sequence of texts that represent customer names, but they do not have enough space between each word / name (for example: CarlosAlbertoGomes ). However the words can be differentiated because the first letter of each word is capitalize...
asked by 05.04.2017 / 19:00