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

learn more… | top users | synonyms

1
vote
1answer
171 views

Spacer and Text in Graphics going Awry (in Mathematica 7)

Use of a vertical Spacer in justified text inside a graphic isn't working as required. The result in the green box looks right, but when this is placed in a ...
1
vote
1answer
633 views

Importing formatted, highlighted text from : HTML vs RTF vs. XML

We would like the ability to import and analyze ASCII documents that have been manually segmented by highlighting and changing font colors of various sections, eg: The original line breaks, ...
1
vote
1answer
47 views

Show scientific form number in Epilog on a plot

I'd like to overlay a scientific form number on a ListPlot at a particular position. Simply using ...
1
vote
1answer
203 views

Input text field GUI [duplicate]

Is there a way to input multiple rows of text and save it as a variable? Like an InputField, but with multiple rows? I would like to make a simple text redactor, so that I could enter a text and then ...
1
vote
0answers
22 views

How to make lines not wrapping in text-mode Mathematica? [duplicate]

When running Mathematica from Unix command line, i.e. pure text mode, the lines wrap at about 70 pr 80 characters, creating lots of visual clutter. How do I set it so that any outputs will not wrap ...
1
vote
0answers
75 views

Transforming/exporting text to image

I have a string in a .txt which I process as follow: ...
1
vote
0answers
53 views

Mysterious message posted when I move the cursor in a custom function

I wrote a function called CPlot for complex plotting which is supposed to act a lot like Plot in its input format, but ever ...
1
vote
1answer
228 views

How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file and then import the pdf in Latex, here is the sreenshot As you can see, the spacing in the text is odd. But ...
1
vote
0answers
62 views

Type Vietnamese in Mathematica

I type Vietnamese using UTF-8 Encoding but Text Display got error. How to type Vietnamese, Chinese in Mathematica. Please help me.
1
vote
0answers
62 views

plot cropped in large amount when setting Text Style to some specific sizes and in some locations

I make a Graphics and then add Text[Style["b",size] to it. When changing the size, I noticed that the overall graphics gets ...
0
votes
2answers
108 views

How to convert cube root of this equation into TeX?

When I solve the equation $$\sqrt[3]{-3 x+6}+\sqrt[3]{2 x+4}+\sqrt[3]{x-10}=0$$ I used ...
0
votes
2answers
594 views

Why is Mathematica treating my text as input?

I have typed in some text input by using Alt-7 to convert everything into text, but why is text still evaluated? Or is there better way to make comments other than (* text here *), because in my text ...
0
votes
1answer
91 views

Text with date, how to convert?

I use this script to recognise a date in a textfile and write the result in another file. ...
0
votes
1answer
110 views

Create new file, based on 500 articles

I've got a folder with 500 newspaper articles. Each article is saved in a seperate file with a number in the title like "1.txt", "2.txt". Each article has a date but it is not clear in which line the ...
0
votes
2answers
178 views

Iterating Reads From a Text File and Writing the Results of Operation

I have a very large text (TSV) file. I am able to now read single line, thanks to StackExchange. I am able to read a part of that line using the part operator. I want to iterate through the whole ...
0
votes
1answer
145 views

Formatting an equation: X^Y to pow(X,Y)

I am trying to solve for the intersection of two circles with arbitrary centers and arbitrary radii. ...
0
votes
1answer
56 views

Replacing whole strings

I imported a text and seperated al words by using StringCases. After this I would like to manipulate the text, for example to replace all singular verbs to plural. ...
0
votes
1answer
233 views

How do I include both text and variables in Input[ ]?

I want to prompt a user to input an answer to a question. I want the question that pops up to have both text and numbers or strings. For example, if I ask the user to give a name to something in the ...
0
votes
1answer
42 views

Evaluate a list of Expressions from file

I have a list of expressions in a text file. I would like mathematica to evaluate and export the results at the end of the same file or in a new file. The expressions are in seperate lines in the text ...
0
votes
1answer
65 views

Basic stylesheet customization of “Text” cells not working for me

I have learned much from other posts about stylesheet customization. Here is my procedure: Step 1 - Open a new, empty document. Step 2 - Format..Edit Stylesheet. I have added the following ...
0
votes
1answer
75 views

Modifying a column with a button within the column

I want a column with textcells and a button to add an extra textcell: ...
0
votes
0answers
120 views

Export “Print” command to text file

I am trying to create a text file with specific information in exact locations. This is my code: ...
-1
votes
1answer
121 views

Adding a textfield to the function that I implemented

Adding a textfield to the function that I implemented to represent the tangent or derivative of a function, but I've added so mark errors. ...
-3
votes
1answer
156 views

Mathematica output in ASCII or larger text size for the output?

I am trying to read the output of this code that has crosses, circles and spaces. For some reason, the output is in very-very small alphabets so I would like to get it in ASCII and/or in larger ...