31,953
questions
0
votes
1
answer
8
views
What features to extract to clusterize text
I want to make a classifier for text, which is further use to suggest the most similar text for a one given.
The flow of the app is the following:
extract the main 10 topics from the text, using a ...
0
votes
1
answer
15
views
Is there a way to share plain text to another app without the user having to choose that other app
I am trying to allow my app to share some plain text to another app called 'macrodroid'. As the destination app is always the same I don't want my users to have to manually select the app every single ...
0
votes
1
answer
20
views
Android auto text size results in different sizes
I have an application containing a screen displaying god names in Islam.
it displays them in a grid view. I use autoSizeTextType attribute to adapt to different screen sizes. However, it shows ...
0
votes
1
answer
17
views
Excell Sum array by two conditions one of which is partial text string
I have a table with multiple sheets. In sheet1 I want to sum the values of particular cells from a range in sheet2 by two conditions. Cells that are to be summed are in different rows and columns.
...
0
votes
1
answer
24
views
How to dynamically change the background of fonts in Unity
Currently, the burgundy part of the font shadow uses outline and underlay. I don’t know how to complete the rose red part of the background. If you add a sibling image component, you need to crop the ...
0
votes
1
answer
39
views
add a text on a photo flutter like taking captions of photo in instgram
how could i make user make a title on the image then take this title and integrate it with image file so it appears as one image file with text on
like this UI
enter image description here
here is ...
0
votes
0
answers
31
views
Is there a way to use Python to convert a word document to txt, and encode pilicrows and check box answers in the txt document?
When I directly convert the word to txt it doesn't encode pilcrows or check box answers and I end up losing that information. I'm trying to get the same result as when I convert it to txt within the ...
-1
votes
0
answers
21
views
Automating reports with oflfline version of GPT
I write reports on a regular basis and found myself asking:
Can I automate that?
I am searching for the following functionalities:
Manipulating an existing report
filling in AI generated text from ...
-2
votes
1
answer
36
views
How to parse a line of text [closed]
I have around 1000 lines of text like this...
<compare uID=\"1937410\" variable=\"10000\" value=\"Timothy Reed\" title=\"Reported by name\" compare=\"...
-5
votes
0
answers
42
views
How can I dynamically change the language of my Lorem Ipsum site based on the user's country? [closed]
I am developing a Lorem Ipsum text generator website, and I want to automatically change the site's language based on the user's country. For example, if a user is visiting from France, the site ...
-4
votes
1
answer
131
views
Quickest way to add " at the end of a word in editors (vim, notepad++, etc.) [closed]
Let's assume we have a text file with the following format:
x,
xxx,
xx,
xxxxx,
xxx,
x,
xx,
and so on.
When importing data in python's panda, words need to be surrounded by " or '. Using either ...
-3
votes
0
answers
65
views
How to show API response text as a (bold, italic, underline) in SwiftUI
I am getting data from API as a below response
"body": "This is test *bold* and _italic_",
"filePath" : null
"body" : "*same to you*",
"...
0
votes
0
answers
8
views
How to set the position vtk vtkBillboardTextActor3D with vtkAssembly ? SetPosition is not working is not working
I would like to set the position of a vtkBillboardTextActor3D in a vtkassembly but the SetPosition is not working
textActor = vtk.vtkBillboardTextActor3D()
textActor.SetInput('Name')
...
0
votes
0
answers
23
views
R circlize add custom Y axis labels
I have a data set looking at frequencies of 57 attributes selected by a panel to describe a the same sample. I've trimmed the data to the first four selections made and want to plot it as a wheel. I'...
0
votes
0
answers
29
views
how can i use libharu convert chinese text to pdf
bool textConvertToPDF(std::vector\<std::string\> text, std::string filePath)
{
HPDF_Doc pdf = HPDF_New(nullptr, nullptr);
if (!pdf) {
//throw std::runtime_error("Failed to create PDF ...
0
votes
1
answer
42
views
HTML/CSS Enforcing Maximum Width Of Single Text Line
I am building a web application with a title which may be any length. The title ends with a pencil span which can be used to edit it to a new title.
If the title is less than the available width, ...
0
votes
0
answers
34
views
Breaking line in custom text in SwiftUI
I need to have a long text that detects automatically the links in it, and if so, they would be clickable and in other color. I've succeed to do that. However, I have a problem going back to the line, ...
1
vote
5
answers
89
views
Custom Line Number/Prefix for text file using awk/sed
Before raising the flag I tried couple of things but didn't get the desired result.
I have many text files which I want prefixed with custom numbering;
the first 2 lines should be prefixed 00A: , ...
0
votes
1
answer
60
views
The text in the div tag of the p tag is extended out
After converting the PDF to HTML using pdftohtml in my Ubuntu terminal, I translated this HTML file and the texts in this HTML extend completely into the p tag and its tags are inside the div tag. And ...
0
votes
0
answers
51
views
How can I play a sound based on text name?
I am making a langauge dictionary where you input a word <input id="maininput" ...> and then outputs 2 or 3 synonyms in different text fields <a id="synonym1" ...>, &...
0
votes
1
answer
92
views
In VBA: Open, read, replace characters, and close text file in fastest possible way
I have a large text file (approx 1.7GB). I want to open it, read it into a string, replace various characters, write the string back to the text file and close it.
Is anyone able to advise how to make ...
0
votes
1
answer
35
views
How to countifs rows with arrayformula with text input in the cell (Google Sheet)?
I am able to use the countifs formula by copy paste the formula down to the sheets but i wish the formula to work around automatically once there is text enter to the header columns.
I wish the ...
0
votes
1
answer
66
views
Scanner.readLine() with custom line delimeter
I have a string that needs to be read using the Scanner class from the beginning to the \n character. The problem is that the source stream in my case may contain the character \u2028. I know that the ...
0
votes
0
answers
15
views
Textbox fabricjs issue (glitch) when resizing
Im not sure why is this happening, i only found one more person online with same issue, and there was someone that said that fabricjs had issue with these glitches before.
Issue happen when i write ...
0
votes
1
answer
27
views
How do I make android EditText not selectable, but still clickable?
I have an EditText that I want users to be able to click on in order to make the cursor appear and then enable writing text. However, I don't want the user to be able to select the text (in the way ...
0
votes
1
answer
47
views
Evaluating a plus symbol from parsed text as a ggplot2 operator
Questions like this one explain how to evaluate a parsed string, but this doesn't seem to work when a + is inside the string as an operator for combining layers of a ggplot.
E.g.
ggplot(data = mtcars) ...
0
votes
0
answers
30
views
Add State Name in Choropleth Map [duplicate]
I having trouble with adding states' names into the graph. I refered to this plotly website for plotting. The last map in the this website which has text "Africa" on the graph,is what I want ...
0
votes
0
answers
26
views
How to load a text file to pyspark dataframe with rows having different schemas?
I have text files with the format like below, is there a way to load the entire text file (ALL COLUMNS) and then split out to handle the various schemas? First column indicates the different schemas.
...
1
vote
0
answers
22
views
Using MIME to send myself a text and last two characters of body is missing
I have a job setup to run daily that will send me a text reminder. The reminder is sent to me successfully, but not matter what I use for my "message" the last two characters are cut off.
...
0
votes
1
answer
64
views
Unicode-bidi: plaintext not working in firefox
I'm writing a library that takes user submitted text and renders it in the browser, among other things.
The user may submit text that mixes lines of RTL and LTR text, and each line should be rendered ...
1
vote
1
answer
59
views
How can I utilise minimum scale factor before defaulting to multiple lines?
I am trying to have a string of text be displayed within my view with an adaptable size so that it works with all text sizes and only expands its parent view when absolutely necessary.
It seems at the ...
-3
votes
3
answers
39
views
Find and Relace all JSON properties with single string?
I have a large JSON file where I want to find and replace all properies with the same string
How the JSON currently looks
{
"example1": "some text1"
"example2": "...
0
votes
0
answers
19
views
How can I handle a situation where the user's selected font is not included in the SDK library?
When users edit a PDF, the text they add often doesn't match the original font, leading to inconsistencies. How can we address this issue effectively?
I have tried the following method, but it still ...
0
votes
0
answers
18
views
How can I write a screen check or text check in macrodroid
Screen check text if have in the app screen Hungary text then write Done And swipe one right else not see Hungary text then go left
X y position And repeat Until the user stops the macro by pressing ...
-5
votes
1
answer
143
views
Extract from string multiple different Texts labels that are located in various positions
I have a column call Labels, the labels are text within a string and they are located at various positions, left, mid, right the Labels (Text) ie. LGW, DUX, IAD, SPX
I want to extract from the string ...
0
votes
1
answer
31
views
Navbar Animated Text Logo on scroll moving menu items
Here is a .gif of what I am doing:
As you can see when the logo animates it shifts the menu items left and right, I have tried separating them by using navbar-start, navbar-center, and navbar-end to ...
0
votes
1
answer
39
views
How Do You Automatically Select The Entire Value Of A Text Field When You Select It In Android?
How do you select the entire value of a text field when you select it in Android?
The most common example I can think of this feature being used in is in a timer app. The timer is initially set to ...
0
votes
0
answers
65
views
Paddle OCR Detection confidence level
I have a question regarding Paddle OCR detection model. Paddle OCR output results are the coordinates of the bounding boxes, recognized text and the confidence score, and from what I have researched ...
0
votes
0
answers
21
views
How to use colorscales on text values
I would like to use conditional formatting in excel to format all rows with the same value in a given column in the same way (see the example below)
I thought this could be simply done by applying a ...
0
votes
0
answers
22
views
Intellij infrequently adding newline character in between lines of a text file
I'm having a weird issue where intellij will add a newline character after every line when I'm writing a list of strings to a text file. The doesn't occur every time and in fact when I run the ...
0
votes
1
answer
17
views
IntelliJ Size of Text
I accidentally changed the text size to be too big and now I'm having trouble changing it back. Does anyone know a keyboard shortcut to undo it or make the text smaller?
I managed to click on the ...
0
votes
1
answer
39
views
How to show equal spaces or height between cells when its text in 1 line or 2 lines in SwiftUI
Code: with this if any favCell > Text(item.title ?? "") in 2 lines then showing uneven line of views in that row why? how to make that row 1 lined text height or space between top and ...
1
vote
0
answers
113
views
Error: The getter 'button' isn't defined for the class 'TextTheme'
My current flutter ver is Flutter 3.22.3
Hye when i run flutter i got this error
Below was on IOS
Error (Xcode): ../.pub-cache/hosted/pub.dev/pin_code_fields-7.4.0/lib/src/pin_code_fields.dart:669:56: ...
0
votes
1
answer
38
views
How to make text overflow clip at the edge of parent widget's
I'm trying to make the a container with some text inside. If the text is overflow, then the remaining text is clipped at the edge of the container.
TextOverflow.visible and TextOverflow.clip seems to ...
1
vote
1
answer
39
views
How to adjust and center font text based on available space
I am currently writing a program that prints certificates when a course is completed. The certificates are in .png format and I am using Pandas to read the name of the person from an Excel spreadsheet ...
0
votes
0
answers
25
views
SQL Server text output file formatting
I am trying to create a nightly job with a query to email an output file in text format. My issue is, when I run it currently, the output that is sent in the email looks awful.
Here is my query:
EXEC ...
2
votes
3
answers
51
views
Text Files vs. Binary Files
I am reading "Computer Systems: A Programmer's Perspective", and there are two statements that, when taken together, don't make sense to me:
The hello.c program is stored in a file as a ...
0
votes
2
answers
45
views
How can I use a span class to edit the text inside every span throughout a webpage with the same class at once [duplicate]
I'm working on a project that involves multiple sections of text, each reappearing in multiple places throughout a webpage. Because up to 37 different sections of text occasionally need to be updated, ...
0
votes
1
answer
46
views
How can I fill a skewed comic panel with text using CSS?
I'm working on a practice project involving comic layouts, and I want to design a part of the page to look like a comic panel.
I've managed to skew the panel using transform: skew(10deg);, and I can ...
0
votes
0
answers
19
views
button text comes blurry can some help to fix this issue?
<div class="about-us-area>
<div class="about-welcome">
<button class="inventory-button">CARS FOR SALE <i class="fa fa-angle-right&...