Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [text]

Questions relating to working with textual information: textual analysis, data mining, etc.

1
vote
0answers
33 views

Named entity recognition

How can one process natural language (English) to extract named entities (aka NER)? Or at least, entities which can be mapped to a Mathematica Entity. Note that trying to map entities via simple ...
2
votes
1answer
46 views

The Text in GeoMarker

In continuation the topics 1 and 2: I had the map "EKB" and I needed to mark some objects. Just for example: AES= TECgas= <...
2
votes
2answers
53 views
2
votes
1answer
41 views

Typing Control-6 makes text cell disappear

This morning, I opened a document I worked on last week, and all the lines of text that had Control-9 functions in them where the function involved a power written by typing Control-6 were completely ...
4
votes
2answers
47 views

How to fully display text in the text box of Manipulate control when expanded?

When the control of Manipulate got expanded there's a display text box but it does not fully show the control value as shown in figure. Is there any way that the size of this box can be adjusted to ...
2
votes
3answers
66 views

Text position inside jpeg file

I tried the following line in order to write a text in my image. p1bis = Labeled[p1, Text[Style["(8)", FontSize -> 52]], {{Top, Left}}] I get the following ...
2
votes
2answers
50 views

Text beside image

I have a lot of text in my Notebook (Format>Style>Text), and I would like to have the full width text, then insert an image on the left, and have the text continue down the right side of the image, ...
0
votes
0answers
24 views

Syntax Error, Text Style and escaping characters

I have a weird error (I guess it could be called a bug), where a file containing the text line (as in in a cell you create with Alt-7) gives a syntax error when called from the terminal using ...
2
votes
3answers
234 views

How correctly align text as graphics

When I try this: Framed@Graphics[{Text[ Style["Text", FontSize -> 50, Bold, Black, Background -> Green, FontFamily -> "Calibri"]]}] I get a ...
6
votes
1answer
102 views

Converting from (telephone) number to short English phrase

One way to memorize telephone numbers is to convert the number into a simple phrase in natural language (e.g., English) so that when dialing on a keypad one merely types out that word or phrase. Here ...
3
votes
2answers
76 views

Having Mathematica replace DOS line breaks with UNIX in files

Say I have a file named "Silly.tex" which has \r\n line breaks. Is there a way to get Mathematica to convert it to only have \n line breaks? You can find such a file with DOS line breaks at: https://...
1
vote
1answer
82 views

How to import complex .txt file to matrix in MMA for user defined keywords / database?

I am thinking about how can we import complex .txt file (Ansys/Abaqus) to MMA for the selected database? For example: txt file (input file): ...
2
votes
1answer
44 views

Manipulate does not work with random and text display

I would like to do a small demonstration of Monte Carlo integration. However, When I generated the plot code, it does not work properly. ...
4
votes
2answers
126 views

How do I treat the results of Fit as text?

I would like to take the results of Fit (or any FittedModel) and treat them as text, including making substitutions for the ...
15
votes
4answers
2k views

What stopwords list is the Wolfram language using?

The documentation of DeleteStopwords only says that it "uses a standard, built-in list of stopwords". So what is it exactly? Update Now that it is said "standard"...
0
votes
1answer
48 views

Joining strings in FrameLabel [duplicate]

I want the $ x $-axis of this plot to be $ \tau/\alpha_e $ without the "+", but I'm unable to do this without Mathematica putting the $ \alpha_e $ to the front of the string. ...
7
votes
3answers
281 views

Programmatically create a keyboard shortcut to “Align Center” a Text Cell without losing cursor position

I'm attempting to create a keyboard shortcut to center the contents of a text cell exactly as clicking "Align Center" accomplishes in the Format Menu. As far as I can tell, there is no frontendtoken ...
0
votes
0answers
26 views

How to do surgery on FeatureExtraction on text?

I have a text data, which is a list of different sentences. I used below for example:- ...
2
votes
1answer
42 views

Import and rearrange txt file

I have a txt file like this: A B C 400 2 3 2 1 8 Now I would like to import the txt file and write it all on one line instead of in columns, so like that: <...
1
vote
1answer
37 views

Exporting Table format and strings not enclosed in quotes

The help file for format/Table says very clearly "By default, Export delimits text fields containing the field separator with double-quote characters." A simple ...
8
votes
0answers
105 views

How to run GrammarApply offline?

It is a question regarding formal grammar. I have a grammar rule addition as below:- ...
1
vote
1answer
83 views

TeXForm as PlotLabels (Configuring GhostScript?)

Update ConfigureMaTeX[ "pdfLaTeX" -> "C:\\Program Files\\MiKTeX 2.9\\miktex\\bin\\x64", "Ghostscript" -> "C:\\Program Files\\gs\\gs9.23\\bin" ] ...
3
votes
1answer
67 views

Direction of text when labelling graphs

On a related question to this, I am now experimenting the labelling with the circle points, ...
0
votes
0answers
18 views

How to locate the data behind WordFrequencyData?

I would like to do some historical textual analysis. For example, the following codes with WordFrequencyData and TimeSeries ...
5
votes
2answers
110 views

Add several text files into one text file using Mathematica

I have twenty data files each contains 1000 lines ("a1.txt, a2.txt....a20.txt"). Now I want to add all these files to a single file and keep the line sequence as followed by the input files (first ...
3
votes
1answer
122 views

Splitting a text file into smaller text files by line numbers using Mathematica

Is it possible to split a large text file into smaller files by line numbers in Mathematica?
4
votes
1answer
172 views

Can not edit font on drawing tool

I am simply trying to add some text to a plot via the drawing tool, but it seems the text style options are fixed at some default setting and will not change. You can see in the following picture that ...
6
votes
3answers
189 views

Working with text in 3D graphics

I'd like to add text to the surfaces of a cuboid. I have tried Text and Epilog, and neither of them worked. Consider the ...
2
votes
1answer
56 views

Can MaTeX objects scale the same way as Text objects?

When one uses Text[Style["Hi", FontSize -> Scaled[.1]]] the text will resize proportional with Imagesize? Is there a way ...
0
votes
2answers
42 views

Looking for specific data in .txt file

I've the following code: Import["test.txt"] And it gives me: 1,10 2,20 3,30 4,40 5,50 6,60 7,70 8,80 9,90 10,100 11,110 12,120 13,130 14,140 15,...
4
votes
1answer
64 views

Searching for substrings in large text document?

I have a large text file that I need to search for certain substrings and I would like to use the speed-up that TextSearch gives. Unfortunately, with ...
6
votes
6answers
340 views

Simple method to sort versions

The goal is to sort long lists of versions. For example: Input ...
0
votes
1answer
29 views

Searching in a .txt file for a specific time

I've the following code: Import["hoi1.txt"] And it gives me: "(time,voltage,current,power) (1,10,5,10*5) (2,20,6,20*6) (3,30,7,30*7) (4,40,8,40*8) (...
3
votes
1answer
45 views

Dynamic Text depending on output of a manipulate

So I am looking for a way to calculate and show dynamically as text the x-Axis-value of the Intercept of those two curves. ...
0
votes
1answer
45 views

how to write text (name) for the plot (figure)

I have a density plot and I need to put a name (Fig 1) below the figure. ...
2
votes
2answers
84 views

Searching words with the five vowels

after looking for a long time manually words in Spanish that have the five vowels in any order, for example Republicano, murcielago, superiora, etc; I'm bored and without success. I thought that ...
3
votes
1answer
75 views

Scrollbar in DialogInput

Writing: ...
4
votes
0answers
76 views

How to highlight text with callouts?

This screenshot is from a presentation by Brian Frezza at Wolfram Data Summit 2014. In what clearly is a Mathematica notebook. How is the text highlighted with the callouts? Some sample text (...
4
votes
0answers
261 views

Using Machine Learning techniques for text-analysis

I am analysing a bunch of tweets and I want to understand which political party the authors support. Let say, for example that I have five parties labelled by a number: ...
1
vote
1answer
54 views

How can I create a word consisting of sequence of letters which produce the word?

I found today at the web site of the Wolfram Programming Lab the following Code which can create a Pi symbol filled with the digits of Pi: ...
3
votes
1answer
62 views

Long text is cropped in Graphics

I want to convert a text slogan into graphic, and then add to an image. However, the long text is cropped. How to fix? Here is the code: ...
8
votes
3answers
220 views

How can I standardize the coordinate origin for exported/imported outlines?

There is a widely known trick of converting letters to curves: ...
3
votes
0answers
62 views

Extracting names (surname & family name) from unstructured text files

This question is about finding names of people in a text without knowing these people. There are some rules we can use to detecting names in a text A name consist always of two or more words (...
1
vote
1answer
139 views

Changing Text with Previous Quotation Marks

I defined some variables as follows: altura=15;comprimento=45;largura=92; I have a TXT file that comes formatted from another application: ...
0
votes
1answer
75 views

What is the problem with the “|” character inside of strings?

When the "|" character appears inside of a string containing linear box syntax, SyntaxQ returns ...
0
votes
0answers
88 views

Text-analysis: Import CSV without stringquotes

I have a large amount of text-files. I want to compare these text-files based on common 'words'. I export the output of my analysis as a CSV file. When I import the same file I get all seperate words ...
1
vote
0answers
79 views

How to locate a text string in a picture?

We can use TextRecognize to recognize lines of text and their corresponding bounding boxes. For the text in the picture below, how can we detect the bounding boxs of the text in the picture. The ...
16
votes
1answer
549 views

Automatic edX Pdf Handout creator

I am trying to make an automatic handout creator for my courses on edX. It took me a long time to do it... (If you don't know edX: https://www.edx.org/) I wrote a program that adds to each slide ...
2
votes
2answers
109 views

Changing LabelingFunction Color

Want to set point text label colors to match actual points. Should be obvious but... Workaround is to change ALL label coloring but this is not desired. Would like to have black axis labels. Also ...
0
votes
1answer
44 views

Writing second power of numerator in PlotLabel

I want to label my plot. I have done some part of it till now: ...