Questions tagged [searching]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
273 views

WolframConnector - getting credentials for GoogleCustomSearch

I need to fill in the information for the WolframConnector in the panel shown below which is activated by running the command: ...
3
votes
0answers
85 views

Approximate Nearest Neighbors in Mathematica?

Is there any support for Approximate Nearest Neighbors (ANN) in Mathematica or third-party packages? I'm looking for a good implementation of locality sensitive hashing for applications where ...
3
votes
0answers
66 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 (...
3
votes
0answers
54 views

How to find where in a large expression Power::infy is generated?

Consider the following expression: ...
3
votes
0answers
51 views

Is there a way to search for a WolframLanguage pattern in Notebook? [duplicate]

Mathematica Notebook has a Search&Replace dialog, which allows to look for particular expressions. But I'd like to be able to find instances of code corresponding to a particular pattern. E.g. if ...
3
votes
0answers
103 views

Front End - Bug in Edit->Find?

As a beginner I make notes in my notebooks on what I am learning as I go along, and I have also referenced the help files by pasting hyperlinks from them - this seems to break the Find function. Is ...
2
votes
2answers
109 views

Efficient Search for reverse element in List of Lists

I have a big list AllCycles with contains lists of non-repeating integers (and the first element is always the smallest). I want a function ...
2
votes
3answers
128 views

How to search within notebooks on Windows 10?

I have a lot of notebooks scattered in my downloads, documents and desktop folder. I have all the required locations on Windows indexing options but if I look at Advanced Options and File Types and nb ...
2
votes
2answers
104 views

Memoization and finding already calculated DownValue

The problem of plotting an expensive function discussed in this question caught my attention. As an exercies I tried to solve it using memoization as follows ...
2
votes
1answer
64 views

Searching for symbol except within subexpressions with a particular Head

I would like to write a searcher like FreeQ that looks for a Symbol (or Head) in an ...
2
votes
0answers
40 views

Match an expression that has a descendant pattern

I have a complicated expression in which I have another expression p which, when it’s present, I want to match the outer expression and all of its children. I was hoping for something like ...
2
votes
0answers
52 views

Is there a way to cancel a search in Mathematica?

Is there a way to cancel a word search in Mathematica initiated via the Find and Replace menu?
2
votes
0answers
85 views

dynamic binary search

Suppose I have a time series of values $v_1, \dotsc, v_n, \dots,$ (think of the data as being generated by repeated function calls, like a Python generator, or being captured in real time) and I want ...
2
votes
0answers
104 views

Retrieving a Portion of Webpage Code using URLFetch

The URLFetch command is very useful for pulling the entire html source of a given webpage, however, if one wanted to speed up the process, by only requesting a ...
1
vote
3answers
173 views

Detecting the existence of an element in a subarray with specific properties

If I have an array that looks like this: ...
1
vote
2answers
256 views

Searching for phrases in a block of text

One could call this a pattern finding question with dictionary (or WolframAlpha) lookup, but let me give you some background first. I have a couple of friends who are trying to improve their English ...
1
vote
2answers
143 views

Finding strings in Web Code [duplicate]

I haven't found an answer that solves my problem, although I think it's actually a simple one. It seems hard to me because I don't have a lot of experience with string patterns. I have a Web Code ...
1
vote
1answer
95 views

Want to display a animation necklace when updating a list of suggestions from an inputfield search

I have an InputField search that provides search suggestions, but I want an animation necklace to be displayed while the search is 'busy'. I would also like this to be done using Dynamic rather than ...
1
vote
2answers
314 views

Is there a way to search for Arithmetic Progressions in a list?

If you have a list of integers is there a way of searching that list to see if there is a trend of Ax+B in the list? Not using all of the numbers, just seeing what trends like that are embedded in a ...
1
vote
1answer
84 views

Searching if a directory exists within a folder

I hope this question is not a duplicate, but I could not find any other question which answered my specific question, which is: I have the following folder structure (just an example): samefolder/...
1
vote
0answers
62 views

What can we do with the Dump contexts? [closed]

So we know from here what the *Dump contexts signify and here Rojo found a very useful goody that involves them: ...
1
vote
0answers
57 views

Alternative Methods of Using Cumulative Density Functions To Obtain Probabilities

I have a CDF that is generated from the subtraction of two arrays as part of a minimization procedure. A consequence is that events in the simulation can cause the subtracted total to be less than 0: ...
1
vote
0answers
61 views

Improved Documentation Search By Actual Content

Now by default Mathematica documentation searches keywords section in the Options version of the notebook and the actual text of the notebook. For example here is a snippet from ...
0
votes
2answers
68 views

How do I use DictionaryLookup to exclude words with certain phrases?

I'm looking to use DictionaryLookup to search the English dictionary for words that don't contain certain strings. For example, I want to exclude ...
0
votes
1answer
72 views

The nearest object from the array of objects

I need to find the most similar to desired object from the array of objects. In this case ...
0
votes
1answer
28 views

Problem using Position when using a variable [closed]

So, I tried to use Position to get the Position of the 90% Maximum of a Photodiode Signal. The code works when i directly use the solution of the .9*Max[...] solution, but I want to have it with a ...
0
votes
1answer
252 views

Using the binary search algorithm in a sorted grid

I want to get a mathematica code for binary search algorithm applied to a sorted grid containing integers. For example, given f[k_,x_]= x^2 + k x + k - 2 where <...
0
votes
1answer
30 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) (...
0
votes
1answer
587 views

Find if element exists in N-dimensional array

I was wondering if there was a more elegant way of finding whether an element exists in an N-dimensional array. The way I would do it is: ...
0
votes
2answers
46 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,...
0
votes
0answers
160 views

Replacing parts of a complicated expression with shorthand symbols

I have a list, each element of which contains a different complicated expression. Here is a simplified example of the first three entries of the list, displayed one above the other: $\frac{Ey \ \mu \ ...