sphinx

Anyone have experience with Sphinx speech recognition?

Has anyone used the Sphinx speech recognition stack to build IVR applications? I am looking for open source alternatives to the expensive and somewhat limiting choices from MSFT and others. I have not been able to find a comprehensive package that ties open source speech/voip applications together. ...

Can I document Python code with doxygen (and does it make sense)?

I like doxygen to create documentation of C or PHP code. I have an upcoming Python project and I think I remember that Python doesn't have /* .. */ comments and also has its own self-documentation facility which seems to be the pythonic way to document. Can I just use doxygen? Anything particular to be aware of? I have done some coding...

How do I add the condition "IS NOT NULL" to a Thinking Sphinx search

I'm using Thinking Sphinx for full-text search, following this video. I'd like to do the following: @articles = Article.search(params[:search], :conditions => "published_at IS NOT NULL", :order => :created_at) The problem is that this doesn't work. It seems that the search method only accepts conditions that are a hash. I've tried a ...

How do I geo-search multiple models with ThinkingSphinx?

Hello, I have two models indexed for searching (User and Item). I'm trying to do a geo-search across models: ThinkingSphinx::Search.search('keywords', :geo => [ degrees_to_radians(params[:lat].to_f), degrees_to_radians(params[:lon].to_f) ], ) But I only get an error: Sphinx Error: index item_core,item_delta,user_core,user_delt...

Configure merge_block_size in sphinx search engine

I am powering a web search using Sphinx, and am getting the following error message while building the indexes: WARNING: sort_hits: merge_block_size=76 kb too low, increasing mem_limit may improve performance The problem is I can't find any documentation on where this setting is configured. I'm somewhat versed on Sphinx setup, so I...

Can I identify matched terms when searching with sphinx?

I am using sphinx to do full text search on a mysql database through thinking sphinx. I would like to highlight the matched terms in the results I show to the user. Shpinx is smart enough that searching for 'botulism' will match "i like to inject botulinum into my eyes" How can I get it to tell me that 'botulinum' matches 'botulism'? ...

Filtering Sphinx search results by date range

I have Widget.title, Widget.publish_ at, and Widget.unpublish_ at. It's a rails app with thinking_sphinx running, indexing once a night. I want to find all Widgets that have 'foo' in the title, and are published (publish _at < Time.now, unpublish _at > Time.now). To get pagination to work properly, I really want to do this in a sphinx ...

How does Sphinx store null fields, and how does this affect performance?

I'm thinking about using asking sphinx to index many fields (in the hundreds), many of which will be null. My question is how much having many null fields will affect performance? This situation arises not from having incredibly denormalized data, but from requirements on the search interface and what can be searched. Basically I will b...

CMU Sphinx Live Decoder

I've been doing some expirementations on sphinx-3.5. The batch decoder works great, however, when I try the same model with the live decoder, results get very poor. I understand that the live decoder will surely use a faster search algorithm, but I still think there should be a way to improve it by playing with it's parameters. My probl...

How to maintain several translations of a documentation set written with Sphinx?

I am starting a personal project and I'd like to provide documentation for my French speaking fellows as well as for the English speaking others. So how should I organize my directories? What to separate (I guess sources, some conf items like language for generated navigation links...)? What not to separate (a maximum of configuration...

Best full text search for mysql?

We're currently running MySQL on a LAMP stack and have been looking at implementing a more thorough, full-text search on our site. We've looked at MySQL's own freetext search, but it doesn't seem to cope well with large databases, which makes it far too slow for our needs. Our main requirements are: speed returning results simple upd...

What's the search engine used in the new Python documentation?

Is it built-in in Sphinx? ...

How do I install python's sphinx documentation generator in linux?

And how do I run it? ...

How to customize an existing LaTeX environment without interfering with other environments

I'm using Sphinx for documenting a project. It produces LaTeX files from restructured text. I would like to set a gray background color to the tips and notes, so I customized the notice environment after creating a graybox environment: \definecolor{MyGray}{rgb}{0.80,0.80,0.80} \makeatletter\newenvironment{graybox}{% \begin{lrbox}{\...

Whats the best way to retrieve information from Sphinx (in PHP)?

I'm new to sphinx, and I'm seting it up on a new website. It's working fine, and when i search with the search in the console, everything work. Using the PHP api and the searched, gives me the same results as well. But it gives me only ids and weights for the rows found. Is there some way to bring some text fields togheter with the 'mat...

Running Thinking Sphinx in two applications under passenger

I have two different rails applications running thinking_shpinx, and one seems to not be using the correct index. I tried setting the port in the sphinx.yml but it seems to not have any effect. ...

Sphinx: What is the best way to approximate string sorting with multiple indexes?

I am working with Sphinx and would like to implement string sorting. I understand that this can be accomplished using attributes and String Ordinals, however, I also want to implement Live Index Updates and string ordinals do not work with multiple indexes. What would be the best way to approximate string sorting with multiple indexes?...

How to sum an attribute in a sphinx group search?

I need sphinx to sort the results by the sum of an attribute. I need to: Group the results by their IDs (done) Sort the results by the SUM of one attribute I can't find a way to sum this attribute. How could I do this? (Im using sphinx PHP API) ...

Is Sphinx better than LaTex in writing manuals/books?

Only a few people recommended to use Sphinx at the beginning of the year. Sphinx has developed rather fast recently. I noted today that Sage has made a change from direct editing with LaTex to Sphinx. This is evident in William Stein's answer on 2nd April about Sage's tutorial The tutorial is not a latex document anymore. It's an e...

Pros & cons of full text search engine Lucene, Sphinx, Postgresql full text search, MySQL full text search?

I'm building a Django site and is looking for a search engine. A few candidates: Lucene/Lucene with Compass/Solr Sphinx Postgresql built-in full text search MySQl built-in full text search Selection criteria: result relevance and ranking searching and indexing speed ease of use and ease of integration with Django resource requirem...