Questions tagged [text]

Text is a sequence of characters that is most often used to represent a cohesive piece of information.

0
votes
2answers
10 views

Actions on key pressing, one after the other. (Jquery : RPG Dialogue Box)

I'm trying to make a little game in Jquery, I want to show a dialogue box. When I press enter, I want the text1 to appear.I press enter again it shows the text2 etc, until maybe 7 texts.If I ...
0
votes
0answers
17 views

React: placeholder (neutral) element for text in JSX

I have a React component that has few links in <a> separated by comma ,.<a href={'https://finviz.com/quote.ashx?ty=c&ta=0&p=w&t=' + stock.ticker}>FinViz</a>,<a href=...
1
vote
3answers
35 views

Count how often words from a list appear in a string

I have a pre-defined list of words; e.g.:wordlist=[["one"],["two"],["three"]]And I have a large corpus of .txt files, also imported into python as a list, e.g.:corpus=["my friend has one ...
0
votes
1answer
8 views

Is there a way to reliably rotate SVG text within a resizable graphic?

I'm building an SVG which displays a fairly standard X-Y plot with axis labels. I'd like the y-axis label (on the left-hand of the graph) to be shown vertically, with the whole text rotated 90 degrees....
0
votes
0answers
7 views

DirectWrite ScriptAnalysis get script name from index

DirectWrite ScriptAnalysis Contains a UINT16 number that is zero-based index representation of writing system script.How can I know the name of the script?For example in English the number is equal ...
2
votes
1answer
21 views

Splitting data and allocating sorted data to columns for excel view using Python

Hi I have a set of data as shown below(dummy data to replace school data) in a text file01-01-1998 00:00:00 AM GP: D(B): 1234 to time difference. Hourly Avg:-3 secs01-01-1998 00:00:12 AM GP: D(A):...
0
votes
1answer
25 views

How to include outputs in Sidepanel shiny app in R

Is possible to display outputs in the side panel? I'm working on text mining and the main text body is in the main panel. I would like to add some outputs on the side such as Number of paragraphs=...
-4
votes
1answer
39 views

CSS Float with more than one element [on hold]

I have a picture with float: left. The goal is to have 2 more text box beside the picture. But the second textbox goes under the first text box doesn't matter if i set a width or not. What is going ...
-3
votes
2answers
28 views

Can a text file and a json file be used interchangeably? And if so how can I use it in python?

Question: I was wondering if JSON and txt files could be used interchangeably in python.More Details: I found this on the internet and this on stack overflow to find what a JSON file is but it did ...
-2
votes
1answer
24 views

How do I add lines in a text email? [on hold]

First, I'm not a programmer and totally lost.I have a simple text email I want to edit for more content and multiple lines. I want to eliminate the html section and make it pure text so long as I can ...
-2
votes
0answers
27 views

Text replacement in word with VBA [on hold]

I'm trying to get MSWord's vba to interchange two letter: "x1y1" with "y1x1" if the next letter of "x1" is "y1". there are such 15 such "x" is stored in a text file and there are 35 "y" stored in the ...
-2
votes
3answers
64 views

Working with UTF-8 strings and characters in C++ [on hold]

I'm working on a project which works on utf-8 strings character by character, however I was unable to find a way to work on UTF-8 strings on that manner in C++.What I need is:The strings need to ...
1
vote
2answers
76 views

Data processing with Python on data separated by rows and columns

I have a data that is separated by rows(date time row) as such01-Jan-1990 00:00:01 ABCDA abcde fghijk lmnopqhsjfne qqq # EDITED WITH ADDITONAL SPILL OVER DATA with \tB ...
1
vote
1answer
18 views

tkinter text widget as html

I had built tkinter app for sending email. The body of email should get the text with formatting/style from the text widget. Is there any method for doing the same.get method is only given the text ...
1
vote
1answer
44 views

Trying to copy/paste text between Start and End points, transpose, and swap data points

I have some code that does a copy/paste from a large file into the parsed file that I need. Here is a working script.with open('C:\\Users\\Excel\\Desktop\\test_in.txt') as infile, open('C:\\Users\\...
0
votes
1answer
39 views

Python: Using a list with TF-IDF

I have the following piece of code that currently compares all the words in the 'Tokens' with each respective document in the 'df'. Is there any way I would be able to compare a predefined list of ...
0
votes
1answer
33 views

How can I make my apk to function only if my device has a txt file?

How can I make my apk to function only if my device has a txt file?I have an apk that I have made. Is there a way to make it work only if the device its installed on has a specific text file which ...
0
votes
1answer
26 views

NSAttributedString Strike attribute not working

I know this question has been asked many times, but none of the answers I read helped me to fix my problem...In my iOS app, I'm generating a PDF file using default frameworks (...
0
votes
0answers
41 views

How to count the distance between two words according to the number of sentence in Python?

I have a dataset, where the i and j are extracted in two lists. Now I have to check if i and j in the same sentence it should return 0, else count the number of sentence between i and j.abc<...
2
votes
1answer
76 views

Regular Expression to find valid words in file

I need to write a function get_specified_words(filename) to get a list of lowercase words from a text-file. Following conditions must be applied:Include all lower-case character sequences including ...
0
votes
0answers
28 views

Bulk Edting PHP text file

I'm trying to add some lines in between my PHP files.Right now the PHP file look like this <?php public function helloworld($hello,$world){$servername="localhost";$username="username";$...
2
votes
2answers
38 views

Is file.read() guaranteed to read the entire file?

The docs for file.read() say: Notice that when in non-blocking mode, less data than what was requestedmay be returned, even if no size parameter was given.Does this mean that file.read() ...
0
votes
1answer
45 views

How would I go about changing the font and size in this arraylist?

I want to change the font size and the font style. The font is too small. I have tried a few things, but none of it seems to be working. How do I go about doing this?Here is the window that's ...
-1
votes
1answer
26 views

Having trouble Scraping Information from a text / pdf file into R

I track various information relating to the water in California on a daily basis. The people before me have done this by manually entering the data sourced from websites. I have begun to automate this ...
0
votes
0answers
28 views

String Alignment calculation different in R and Python

I am trying to calculate the Optimal String Alignment similarity score between two strings. However, the same measure gives two different values with R(using stringdist library) and Python(using ...
-1
votes
0answers
29 views

How can I put a transparent box with text overlay on top of a 100% width image? [duplicate]

How can I put a transparent box ( box smaller than 100% width image ) with text inside it on top of a 100% width image? The 100% width image is under the green tag. I want the text to overlay the box ...
0
votes
1answer
15 views

Tkinter label does not update the text in Python

I am creating a program with a GUI, the only thing that is displayed is a string. The data for the string is getting catched as a JSON object from a website's API.My problem is I can't get the ...
0
votes
0answers
41 views

Displaying aligned text in a View without TableLayout

I am sorry to ask this question.I have a view and want to display a table without TableLayout.So I have collections of row and cell.So I start with this method :for (int i=0; i < TOTAL_ROW; ...
0
votes
1answer
38 views

Text is not going on a new line

When I try to add text that exceeds the width of my div it doesn't go on a new line but starts the same as the previous text and starts overlapping. Can someone see the issue and explain to me how I ...
0
votes
0answers
33 views

AppendAllText doesnt save new lines from textbox1.text into .txt file

I can't get why the File.AppendAllText doesn't save New lines into txt. For example Textbox1.text contains:Textbox1.text &="hello, it's me, first lane" & Environment.NewLineTextbox1.text &...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,