integrate wordnet with solr - lucene

I am trying to integrate wordnet api in to Apache solr. But it is not seems to be working and there is no good documentation as well. Could you please post me the steps if any body has experience on it?

There are more than one way to do this:
1) https://issues.apache.org/jira/browse/LUCENE-2347
2) https://gist.github.com/562776
These are simple Java classes, which extract the synonyms from WordNet's prolog file - more or less the same way. Hope this helps.
Péter

Related

Alternate for template engines in express

I dove into express.j and encountered pug (template engine).Now, i don't like the idea of writing code that works very similar to HMTL+ some identation.I'd rather stick with normal HTML.I want to discard view engines altogether . Is there another way to hook these html,css and javascript files instead of pug.I read Angular is utilized. Could someone elaborately with a form examlple,styled with css and how to integrate Angular with express.js . Perhaps any tutorial available online...
P.S. Please refrain from using too much technical terminology..I'm a noob. Simple english is appreciated.
You can use 'handlebarsjs'.
That is a great tutorial to get start.
https://www.youtube.com/watch?v=1srD3Mdvf50
Good luck.

what is swagger exactly ? And why doesn't the online editor run requests?

I've spent the last few days trying to understand if I should use api blueprint, RAML or swagger.
It looks like swagger has the biggest community but the closer I look the more I feel that it greatly lacks in documentation (I was forced to look at the code many times to try and integrate it with my current project), many github issues and stackoverflow questions are unanswered.
Is it possible that I am missing something here?
All I want is a tool to help me write the API documentation and test the endpoints.
Why must swagger become part of the server logic?? If I create swagger files in the editor and then serve them to the UI directly it breaks..
As far as I can tell it even makes the server slightly slower and forces the existence of many clumsily maintained integrations :p What am I missing here?
We're trying to work a lot on improving the documentation of Swagger. It's a bit more difficult when many of the projects are community-driven and not managed by a single organization.
We actually try to reply to issues on github quickly (we don't always succeed) and we have our own google group for general questions so we follow stackoverflow somewhat less.
The editor you mention is a new tool as part of the work on Swagger 2.0 and it's not final yet. As such, it still have a few bugs and missing features. The UI is also in the process of being adapted to Swagger 2.0 and the same limitations apply to it.
You most certainly don't have to integrate it with your server and you can expose the documentation statically. The advantage of integrating it with the server is that it's easier to maintain if the API changes.
You can try RAML + ramlev + Abao
The steps should be
Write API Spec in RAML with your fav editor, ie. Atom, vim
Validate your RAML with ramlev
Implement the server logic according API Spec
Validate server logic with Abao

How to use apache UIMA audio annotator

Can anyone provide documentation for audio to text annotator for apache UIMA.
I have really got confused.i am beginner for UIMA.
If you are new to UIMA I would recommend to start from the beginning to get a better understanding of what UIMA is and how it works. The UIMA website has good documentation in this regards.
The SDK doesn't supply a sample, but does explain how to create your own. This is detailed in Chapter 5 of "Tutorials and Users Guide" book.
The short answer though is that it doesn't by itself annotate audio. Instead it is a framework to allow you to create/work with annotations. So you would need to create your own annotator in the framework for the audio. I personally am not aware of one, but someone might link a third party annotator.

Is there any Lucene wrapper in C / Objective-C?

I know there is the CLucene project, which is a port of Lucene from Java to C. But is there a Lucene wrapper in C/Objective-C similar to PyLucene that uses JNI and and embeds a JavaVM with Lucene in a separate process?
I explored this in some depth after asking this similar question a while back. The answer appears to be "no." I found CLucene as you did. It's got problems. I also found something called LuceneKit which was also mostly a mess. For my project I just mangled up the code from PyLucene just enough to get it working, and then moved on to another project. Unless something else has come along since then, I feel confident saying that No, there's not a pre-existing, serviceable Lucene wrapper out there. Sorry.
You can also look on Ferret - it is ruby wrapper and pure c library for full text searching. Ferret is similar to lucene but it uses own file format for indexing.
Since the answer seems to be 'No' I have been looking for different options.
There seems to be an alternative (free for non-commercial apps; $1000k per app for commercial projects).
http://www.locayta.com/iOS-search-engine/locayta-search-mobile/
I have not used it but I just run into it and saw some comments praising this solution.
You can take a look at Lucy, which seems to be exactly what you are looking for:
http://lucy.apache.org/

How to validate a SKOS file?

At the first ,I have to say,my English is so so .
Now I need something to check my skos file whether it is valid.Is there some API or some tools can do so?
I know there are one web service can do so,but I have to develop a system,so what I need most is a API .
validating Skos files ,I mean,it can find the errors in skos types and propeties,such as the skos:broad (the valid one is skos:broader) .
Thanks in advance!
a couple of hints are given here : http://answers.semanticweb.com/questions/417/validate-against-rdf-vocabulary. However, there are no direct, open-source api that you can integrate in your project, to my knowledge.
Also have a look here and here, if you have a triple Store with SPARQL support.
Hope that helps...