Questions tagged [text]

Text is a sequence of printable characters.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

External file number update

I am having a hard time even searching for what I want let alone figuring out how to do it. What I want to do is to update a number one a webpage from a separate file. For example on the main web ...
aladams's user avatar
  • 33
0 votes
1 answer
18 views

React native components 50% faster

I was reading these posts on Twitter, where they say that it is possible to speed up components by 50%. Link: https://twitter.com/natebirdman/status/1695511232298783079 Link: https://twitter.com/...
Paul's user avatar
  • 3,716
0 votes
3 answers
68 views

Extract required values from a text corresponding to given string matches

I have the following string. ******************************************************************************* * * * ...
mark's user avatar
  • 83
0 votes
0 answers
16 views

how to implement markdown to support text selection with SwiftUI [closed]

I am learning SwiftUI and currently trying to develop a learning assistance app. There is a feature that seems quite challenging to implement: Save the content that needs to be studied, such as an ...
Alex Gu's user avatar
-1 votes
0 answers
18 views

How to pass train text to NLP classifier model

I want to make and NLP text classifier which trains on df.columns[data_as_text, text_category], so then it can be given text and predict its' category. As a baseline i want to use SMV model and I don'...
eresque-'s user avatar
0 votes
1 answer
17 views

How to assign text to string from an XPath that contains text() function using selenium?

I am trying to assign the string text value retrieved from a XPath that contains "/text()" function. However, when I try the selenium method "GetText()" & "GetAttribute()&...
C_Sutt's user avatar
  • 193
-2 votes
1 answer
18 views

sed find in finded and replace [closed]

For example this is a file: name=name1 link=link1 description=description1 name=name2 link=link2 description=description2 name=name3 link=link3 description=description3 How to ask sed to find "...
Dinar Talibullin's user avatar
0 votes
0 answers
9 views

Adjust Image size to Textbox in Wordpress

I'm new to WordPress and I have looked for an answer on google and in here but had no luck. I have a two column area where in the left column there is some text and in the right there should be an ...
parascus's user avatar
  • 1,099
0 votes
3 answers
54 views

Xpath select text without tagname, attribute

i have a weired problem and hope u can help me. Is there a good way to read the marked numbers (123456789)? <tr> <td> <div style="width: 98%;" class="...
C.O.D.E's user avatar
-1 votes
1 answer
34 views

Detect (invalid) text files that do not end in line break [duplicate]

How can I use standard Unix tools to detect files which are "text files" that are invalid because they don't have a final line break? As we know, an essential property of a text file is that ...
bignose's user avatar
  • 30.5k
0 votes
1 answer
54 views

I want to extract all JSON objects from this text file and create a dictionary. As you can see, in my text there are nested objects as a key value

text = Autotune exists! Hoorah! You can use microbolus-related features. {"iob":0.121, "activity":0.0079, "basaliob":-1.447, "bolusiob":1.568, "...
Mukhammadsodik Khabibulloev's user avatar
-4 votes
0 answers
23 views

Is there a way to print the result of a function into another cell as plain text? [closed]

I'm making a spreadsheet to parse the LINEST function as the data it spits out is difficult to process manually as a block of numbers. I'm trying to set it up in a way that you can copy and paste the ...
Felix's user avatar
  • 1
-1 votes
1 answer
31 views

Any python methods/package to force convert text to string format, automatically taking care of all issues?

Here's an example: The Chittagong Club was a colonial relic, a gated remnant of the Raj, the era of British rule. On its veranda, the wives of English tea planters once sipped their gin and tonics and ...
Junk Mail's user avatar
0 votes
1 answer
23 views

How can I let the text label in FloatingActionButton.extended word wrap without specifying its width?

I tried everything including Expanded, Container (with double.infinity with or not), Wrap, FractionallySizedBox. And it always either shows me the overflow issue, completely crashes, or makes the text ...
ubershmekel's user avatar
-2 votes
0 answers
44 views

Parsing large text file in Qt [closed]

I am looking for good way to parse a large plain text log file in Qt and filtering it from specific keywords in each line. What I am currently doing is this: QFile log(this->logFile); if (log....
GromPIT's user avatar
0 votes
1 answer
23 views

Simple python exe app doest not wrtite text to selected file whenever is stared by Task scheduller

This is my simple code: f = open("mytext.txt", "a") f.write("Now the file has more content!") f.close() When I start it by Task Scheduller, I don´t see any error, but ...
Mirek's user avatar
  • 21
0 votes
1 answer
17 views

Draggable (or click) labels changing the parameters in flutter

The following illustration most probably will be able to tell my question in an easier way. as seen in the image, when the user drags the text "CLASS 5" horizontally to the left, text will ...
emsiloader's user avatar
0 votes
1 answer
57 views

Persian letters should start from the left like English

This is my original text یه لحظه خودم رو گم کردم And I need to be able to convert in this way مدﺮﮐ ﻢﮔ ور مدﻮﺧ ﻪﻈﺤﻟ ﻪﻳ Any way you say, I tried, but I didn't get the result, I did all the work in ...
Omid Jani's user avatar
-6 votes
0 answers
19 views

How to grab text that user typing on any webpage inside any message box and replace that text with some other text [duplicate]

Like grammerly I want to grab the area whee user is typing and want to grab the text and replace it with some other text. Due to diffrence arrangments of elemnts on various website I am not able to ...
Divyanshu's user avatar
0 votes
2 answers
25 views

How to color element of text in RMarkdown for a pdf file

I am trying to color in red a part of a text for a pdf file --- output: pdf_document --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE) ``` ## *Title* Text <p style="color:...
12666727b9's user avatar
  • 1,067
0 votes
1 answer
30 views

How to center in specific section of a pdf file created with RMarkdown a subtitle

I am trying to center the subtitle of a section for a pdf created with RMarkdown. I am using the following code --- title: "example" author: "X" date: "2023-09-23" output:...
12666727b9's user avatar
  • 1,067
-1 votes
0 answers
24 views

Langchain error: 'FieldInfo' object has no attribute 'split_documents'

After running the streamlit I got an error saying: AttributeError: 'FieldInfo' object has no attribute 'split_documents' enter image description here class WebpageQATool(BaseTool): name = "...
avm's user avatar
  • 1
-1 votes
0 answers
28 views

Why is the phrase 'i guess' crashing my batch file in an if command? [duplicate]

I'm brand new and trying to learn batch files. Like, 4 hours ago brand new. Unfortunately, I've spent 2 of those trying to figure this out. I wanted to write a simple text game for my wife to try out. ...
Jimmie's user avatar
  • 1
-3 votes
0 answers
14 views

Keras Text Extraction with python [closed]

I have a simple idea, but no idea how to implement it. I need an ai that can choose out keywords from a sentence so that it can be used in a later command. I have around 400-500 lines of text as ...
Agent859's user avatar
-3 votes
0 answers
76 views

Removing duplicates in different files using Powershell [closed]

Note: Still new to Powershell. Lets say I have a several text files: aAll.txt aYellow.txt aBlue.txt aGreen.txt aAll.txt contains 5 names: Alex B. John D. Peter L. Teresa D. George. I. aBlue.txt ...
noobCoder's user avatar
-1 votes
0 answers
22 views

Python: Parse structured text-file, and write to dataframe

I am having a structured .txt file. Each line has exactly 133 columns. I want to transform this text file into a table, following specific patterns. This is the anonymized text file: https://hastebin....
hugo999's user avatar
  • 31
0 votes
0 answers
10 views

How to print in pdf with RMarkdown the indentations of the text

I am trying to report in a pdf file the following text --- title: "Example" author: "X" date: "todayàs date" output: pdf_document --- ```{r setup, include=FALSE} knitr::...
12666727b9's user avatar
  • 1,067
0 votes
0 answers
8 views

simplehtmldom returning span plaintext is not handled as string

I am getting a plain text from a span with this code $availability = $html->find('span.editable',1)->plaintext; $searchstring = "Άμεσα Διαθέσιμο"; $cleanavailability = trim($...
Gacha SS's user avatar
0 votes
0 answers
25 views

Faster approach to collect text data from multiple URL and save it to the dataframe rowwise for each URL

I have a DataFrame of shape (700000,5). One column of the DataFrame has single unique text file URL Example: Two columns showing for reference: Task identifier Text url ub12345567 https:/ / someadd....
Remrem's user avatar
  • 23
-1 votes
1 answer
38 views

How to create a outlined text with filled body in Jetpack Compose

To create an outlined text you can apply a stroke effect to it but then it leaves the body transparent. What I want to achieve here is rather than For creating the stroke effect we only need to have ...
Amir's user avatar
  • 1,316
0 votes
1 answer
37 views

How can we fix the instructional text so it does not stay permanent?

So I have a code that put instructional text in several cells (C9, C10, C18, C26 and C32). The instructional text disappears after a second if you don't stay on the cell. The problem is, my text is ...
Clara Monspiette's user avatar
-1 votes
2 answers
69 views

Java - String that starts with '#'

Can someone explain to me, why we need to write 'line.indexOf('#') == 0' in this code? I'm trying to load data from a text file and create objects. Path path = Paths.get(getClass()....
VennaTT's user avatar
  • 11
0 votes
0 answers
20 views

One image from file and 4 text fields from MySQL database into PDF using FPDF

The MySQL database has over 100 rows. The first field in the table is the image file location and the rest of the fields are text for a total of 5 fields per line. I can get all the text from the ...
Saseow's user avatar
  • 25
1 vote
1 answer
77 views

Extracting the root of words with awk

I have an awk script that finds word frequencies. {$0 = tolower($0)} {gsub(/[[:punct:]]/, "")} {for(i=1;i<=NF;i++) a[$i]++} END {for(k in a) print k,a[k]} I work with Turkish text. ...
zeynel's user avatar
  • 187
0 votes
0 answers
6 views

Manim: how to define a template for Text objects?

I have to create many Text objects that differs only in the .text. I tried newtext=templatetext.copy() newtext1.text="Nuevo texto" self.play(Write(newtext1)) but after rendering I see the ...
JOM's user avatar
  • 119
-1 votes
2 answers
41 views

Dart regex: how to replace matching substring with uppercase?

Replace all lowercase letter starting with underscore to uppercase. e.g., hello_world --> helloWorld hello --> hello today_is_monday -> todayIsMonday
eastwater's user avatar
  • 4,668
1 vote
1 answer
69 views

How to split an array of string nodes at given index?

I probably need to use other data structure, but I'm stuck with this solution for now. Will appreciate any advice on this. For now I have this data structure: const data = [ { id: 'node-1',...
Andrew's user avatar
  • 753
0 votes
1 answer
26 views

Sudden Word vba error '-2146959355 (800800005)' No Such interface Supported

Based on this previous question: Extracting whole Sentences from PDFs (as best as possible) - Plain Text From PDF without inserting line breaks Trying to achieve a similar script to convert PDFs to ...
Nick's user avatar
  • 789
0 votes
0 answers
13 views

Potential UDP data loss or wrong Python syntax

I am doing a project involving UDP from teensy 4.1 to PC. After some experiments and help from forums I managed to acquire data on teensy and send to the PC via regular Cat5e twisted pair cable. The ...
Vilius Žalėnas's user avatar
0 votes
1 answer
18 views

extract alphanumeric from text in dataframe in Python

I have a data frame that is called df and looks like this Text No c0404079=0.00 34 c1444716<=0.00 45 1c0<0226311 <= 0.00 36 ...
asmgx's user avatar
  • 7,376
0 votes
1 answer
53 views

Replace Special Character (ò → ⊕) when typing

Windows 10 here. I'm using the English (Canada) keyboard. Whenever I type ALT + 8853 (alt code) I get ò, which I want AutoHotKey to automatically replace with ⊕. ::a::b works but the moment I add ò as ...
FailingCoder's user avatar
0 votes
0 answers
3 views

Resolving an issue creating a file within a shared folder within a virtual machine

Set up a VM and created a shared folder and within this folder wanted to create a file using the touch command and got this touch: setting times of 'text.txt': No such file or directory Can anyone ...
A Whelan's user avatar
0 votes
0 answers
35 views

How can I identify the number of occurrences of multiple custom emotions, grouped by line, team, and personal ID?

I have a data frame like the following (but much larger and with repeated observations across time): df <- data.frame( participant_ID = 1:4, TeamID = c("A", "A", "B", ...
user22571454's user avatar
0 votes
0 answers
36 views

My txt to CSV code drops everything into one column

I've tried so many different approaches and I cannot figure out how to get my code to work so that my text > CSV conversion has the data separated into same structure as the text file. Everything ...
ktnak33's user avatar
0 votes
1 answer
34 views

How to separate two different languages in single column to two different columns

My dataset contains two different languages in single column. Is their any solution to split the languages to two different columns in QGIS Below mentioned example for quick reference. I have this ...
Bruno B's user avatar
  • 117
-2 votes
1 answer
36 views

Python: how to read text file then count specific word and print date,time from another line when found specific word

how to read text file then count specific word and print date,time from another line when found specific word for example text file 2023-09-15T16:55:10Z word word word word word **specific word** word ...
user22564304's user avatar
0 votes
0 answers
62 views

Comparing embedding differences between OpenAI (via httr2) and HuggingFace (via ‘text’)?

For two R libraries, I'm trying to understand the differencs between the embeddings for httr2 (OpenAI) and text (huggingface) libraries, respectively. For example, is it possible to exchange/convert ...
JustADude's user avatar
  • 2,639
1 vote
0 answers
19 views

Rewrite sentences from first person to third person and vice versa using python packages

Are there any packages in python that can rewrite large content from Person's point of view i.e first person to third person and Third person to First person I ate apple yesterday He ate apple ...
Sathwik Vadla's user avatar
0 votes
0 answers
11 views

Highlight Ellipsis when search text is found in the hidden part of the overflown text

I have below code which is created when a user tries to search (e.g. 'h name'). The searched text is highlighted in yellow (see the snippet). div { width: 180px; text-overflow: ellipsis; ...
Abhishek Chhugani's user avatar
0 votes
0 answers
30 views

Sync data between instances using binary data

I sporadically sync data from a small set of tables in production. I cannot access the production machine directly, so historically I submit "select * from dbo.source", DBA copies from ...
Duncan's user avatar
  • 582

1
2 3 4 5
636