Questions tagged [text]
Text is a sequence of printable characters.
31,949
questions
0
votes
0
answers
18
views
Dark Background Blurry Text
text in body element immediately goes blurry on scroll
text goes blurry on Lenovo G32qc-10 Monitor but not 13-inch MacBook Air (2022 M2)
<html>
<head>
<style>
body {
...
0
votes
1
answer
17
views
Text Wrap in HTML
I have an example below about my problem:
Paragraphs do not behave the same when the line break is automatic (like with flex width) or when it is forced.
I need that when the line break in the ...
0
votes
0
answers
11
views
NIFI - How I can use a InvokeHttp without body in Nifi?
How I can use a InvokeHttp without body in Nifi?
I need to use a POST method with a query, example:
www.teste.com&query=
Send without a body, only in URL.
0
votes
1
answer
10
views
using tshark to extract text similar to wireshark export packet dissections
I am trying to use tshark to export text files from pcap with the same amount of information as I would get from wireshark -> file -> export packet dissections > as plain text.
when I use
...
1
vote
2
answers
57
views
How to find duplicates in a text file in python and create a new text file with out them
I am trying to remove duplicates from text files to make a current process more efficient
Example input:
1 1
1 1
2 1
3 1
4 1
Example Output:
1 1
2 1
3 1
4 1
my issue is when ...
0
votes
2
answers
90
views
How to show String of array text in curve shape in SwiftUI?
I need array of text should scroll in curve shape like below:
Code: but with this code i can create green colour curve shape view but how to show array of text in curve shape ? please help me to ...
0
votes
0
answers
24
views
Trying to truncate text on smaller screens, but the common solutions don't work
This code works fine, only when the_title() text is longer and the window is small, the text wraps to the next line:
<div class="metabox metabox--position-up metabox--with-home-link">
...
0
votes
0
answers
29
views
Need Help Comparing Text in One Cell To Another
I am trying to develop a program where the end state will be this program finding all instances of similar text within cells from multiple sheets and grouping it together. This question is going to ...
0
votes
0
answers
15
views
How to resolve Internal server error in flask and summary not fetched error in a text summarizer application that I'm trying to build?
I'm building a simple text summarizer using HTML , CSS and Flask. It is a simple web application that I'm trying to build, it should give summary when .txt file is uploaded but I'm getting internal ...
-2
votes
1
answer
53
views
Extract only phone number without country code in BigQuery
I have some data in GCP BigQuery where the 'phone_number' column is in the formats shown below. How can I extract only the digits in the data corresponding to the area code and subsequent phone number,...
0
votes
0
answers
23
views
ERROR: Failed building wheel for hdbscan - using text package in R [closed]
I cannot install Python modelus for text analysis using the text package in R. I ran
text::textrpp_install()
and get the following error:
note: This error originates from a subprocess, and is likely ...
2
votes
3
answers
45
views
How to create text highlight effect
Any suggestions on how i can create this text effect with html and css.
want to create this
Tried using mix-blend-mode but the background got inverted as well.
<!DOCTYPE html>
<html lang=&...
0
votes
0
answers
14
views
How do I make text in Button take up a bigger part of it?
I'm trying to make a custom keyboard for an android app so I'm trying to make the text on the buttons as readable as possible. I want the text to be big on the button, but setting the textSize ...
0
votes
1
answer
64
views
Issue with centering a TextBox in Python Tkinter
I'm currently using Customtkinter and encountering an issue with horizontally centering text within a CTkTextbox. Here is a snippet of my code:
textbox = customtkinter.CTkTextbox(master=self....
1
vote
1
answer
60
views
is there a way to output and consume binary files on stdout/stdin of powershell?
I am expierencing an issue with a powershell script which doesn't work whereas dotnet application with the same commands works. I believe the problem is related to encoding, I think in powershell the ...
-2
votes
0
answers
15
views
How to Multi Label Classification Korean SpecialAI [closed]
I checked the URL https://github.com/sonnydfa/SpecialAI/, but it wasn't helpful. I want to classify characters written in Hangul and perform multi-label classification for sentiment analysis. Could ...
0
votes
1
answer
13
views
Windows terminal cursor sometimes become strange
While using Windows, I frequently encounter the situation provided in the attached image. It looks somewhat auto-completion and the text cursor stands still until I complete typing a word. I think ...
1
vote
1
answer
48
views
Regex for nested tag detection
I have a document generation application that handles tag replacement, I use a regular expression to detect said tags. These tags can be of multiple types, for the sake of the problem let's take into ...
-1
votes
1
answer
29
views
Text DISABLED but leave Scrollbar NORMAL
I can't seem to find a solution to this one. If I have a textbox that I state=DISABLE, it also disables the scrollbar.
Is there a way around this?
from tkinter import *
from tkinter import ttk
#Create ...
0
votes
1
answer
37
views
Set value in column based on multiple conditions on multiple columns
Could someone please help me on this.
Been searching for hours on several platforms, tried several solutions but can't figure out the exact code for the possible solutions. In other words: I can't get ...
0
votes
0
answers
51
views
extract string emojis from text [duplicate]
i want to extract string emojis from string to array of string.
Previously, i had this regex:
const regex = /([\u{1F600}-\u{1F64F}])/gu
and i was using it like this:
const parts = text.split(regex)....
0
votes
1
answer
51
views
Is it possible to get the angle of rotation of the text area via PaddleOCR?
PaddleOCR can correctly recognize 90, 180 and even 270 degree rotated text in a mode use_angle_cls=True, but it doesnt provide any information about the angle of rotation in a result.As a result, area ...
0
votes
0
answers
25
views
Coloring a text
I tried to run the code:
import time
s = time.time_ns()/1000000
en = time.time_ns()/1000000
ma = 0
while True:
e = time.time_ns()/1000000
if s - en >= 1000:
ma = max(ma,int(1/(e-s)...
-1
votes
1
answer
40
views
Writing an Ifelese Command to Detect Whether a Word Appears in a Dataframe in R [duplicate]
I want to create a data frame column based on whether a specific dictionary of terms appears within text data.
I currently have a data frame, where the column text contains different texts. I would ...
0
votes
1
answer
52
views
How to determine if a text in an image is upside-down?
I need to establish if text on my image is upside down.Examples of my images:
1
2
3
4
5
I do that via comparison of confidence scores of primal image and 180 degree rotated image, but sometimes ...
0
votes
2
answers
64
views
I need to get these two lines in my variable into one single line. Power Automate variable
I need line 2 in the image to be combined with line 1. Below is what the full variable should look like.
CROWDSTRIKE FALCON EPP ENT FLEX BNDL T14.12M
I've tried wrapping the text and combining the ...
-1
votes
0
answers
35
views
How to Perform Text Similarity Calculation Using Multiprocessing?
I tried to perform text similarity in batch, and my code works. However, when I want to speed up the calculation with multiprocessing, my Juypter notebook shows the following mistakes below. I am new ...
0
votes
1
answer
48
views
How can I access font families in pygame
I am currently trying to use a font family I have within my working directory in pygame. After looking at the pygame.font.Font documentation I couldn't find anything on this and I also searched on ...
-1
votes
0
answers
39
views
How to create text with gradient fill, gradient inline stroke and inner shadow?
I have problem with CSS. I want to create text from Figma design. This text is in the image I attached below. It should have these properties:
Poppins 48px size and 600 weight font
Linear Gradient ...
1
vote
1
answer
24
views
Text overlapping over the Toolbar
[I Wrote my first program in jetpack compose and I face this problem that a simple text after putting in a column{} or in a row{} it begins from the toolbar of the emulator means the text gets ...
0
votes
0
answers
44
views
SSIS flat file destination sort order
This is an SSIS 2017 issue using a Flat File Destination.
We pull the data from an OLD DB Source, run the column through a Sort Transformation and send the result to a Flat File Destination.
In all my ...
6
votes
7
answers
282
views
Count empty strings?
In R, suppose I have a vector like:
vector<-c("Red", " ", "", "5", "")
I want to count how many elements of this vector are just empty strings ...
1
vote
0
answers
39
views
PIL text issue when making gif
I'm trying to use PIL/Pillow to make a meme with a GIF. I noticed that whenever I convert it to RGB, the text is messed up(not showing up white/is somewhat transparent and black) but the background is ...
-1
votes
0
answers
22
views
TextPainter get the text minimum size
enter image description here
final textSpan = TextSpan(text: text, style: textStyle);
final textPainter =
TextPainter(text: textSpan, textDirection: TextDirection.ltr,maxLines: 1,textAlign: TextAlign....
1
vote
1
answer
23
views
Changing isolated words in R?
In R, I have a character vector like:
vector<-c("BAKING CO", "NEW COBALT", "CO INC")
I would like to convert the word "CO" to "COMPANY", but only ...
0
votes
0
answers
23
views
Embedding text in a terra raster?
Is there a simple way of embedding a given text in a terra raster, at a given position? Thanks,
Jean-Luc
0
votes
1
answer
37
views
Is there a way to use data.frame to iterate through a list of texts in R?
I used readLines from gutenbergr to read my list of legal cases into R. The code looks like this:
my_list <- list.files(path = "C:\\Users\\Ben Tice\\Documents\\R Stuff\\UW Job\\Cases\\data\\...
0
votes
2
answers
89
views
Issue with writing to a text file in C using printf()
I'm trying to write to a file in C, so quite simple stuff. But I am encountering an issue with the below code:
#include<stdio.h>
#include<stdlib.h>
int main()
{
FILE *fptr;
int ...
1
vote
1
answer
45
views
How to Create a Binary Variable in R Based on a Specific Dictionary of Terms
I am looking to receive help on creating a binary variable in R based on whether a specific dictionary of terms appears within text data. I currently have a data frame, where one of those columns (...
-2
votes
0
answers
32
views
Bot to give roles upon a user sending a certain message
self explanatory really, i want a bot that gives roles upon a user typing using the role ID or name either work, and preferably python. If you can help me out I would be so so appreciative, thankyou!
...
0
votes
0
answers
10
views
Invoking a window getting selected text
I wanted to display a 'simpler' text to help supplement kids reading exercise. As an example - as an example the text may read :
Johnny went to school and he surreptitiously ate his lunch early. I ...
1
vote
2
answers
75
views
Replace ordinal numbers in R?
In R, suppose I have a string vector composed of words:
string1<-c("1ST COMPANY", "21ST LIBRARY")
However, within these strings, I want to convert ordinal number words like &...
0
votes
3
answers
33
views
Add custom text in string based on values specified in text vector in R
Let's say I have a vector of string values that looks something like:
vec_vals<-c("value1", "value2", "value3")
and a text string which at certain points may contain ...
3
votes
2
answers
86
views
Combining singleton letters?
I have the following character vector:
vec1 <- c("D R JOHNSON", "NICE W E A T H E R")
This vector has consecutive series of single letters like "D R" which I do NOT ...
0
votes
4
answers
56
views
Padding to a specific level and adding character at the end
I have a text file:
a
aaa
aaa
a
My desired outcome is:
a N
aaa N
aaa N
a N
I wrote ...
0
votes
1
answer
45
views
adding spaces to a text file to a specific character in python [duplicate]
I know this is probably an easy one but I am still new to Python and need a little push in the right direction. I have a text file that I need a certain number of spaces where on character 88 an N ...
-1
votes
1
answer
29
views
Python: reciept formatting [closed]
I want to make a python program, which is able to recieve the datas from the barcode reader and from the moneycounter. Finally print all datas in one reciept.Putting BRC datas is not a problem,but I ...
0
votes
0
answers
35
views
Javascript text compression
I have tried "pako" and lz-string" Both. I need text compression of 25% or lower.
I am trying to convert 1000 Characters to 222 or less chars after compression.
pako do a good job than ...
0
votes
1
answer
29
views
How to disable non-intended user input in the terminal C#
When i write a infinite loop that doesn't have any behaviour on its body, the user still have the possibility to write text at it, even without calling any input function:
Note: I'm using Linux, ...
1
vote
1
answer
32
views
Aligning Text in SwiftUI Horizontally
I have text coming from an API call. I want to display it. The issue is as below:
Dummy data provided to run
struct SampleTypeBox: View {
var sampleType : [SampleTypeList]
VStack(alignment: ....