How to use Semantic Vector API like Lucene to index and search document

118 views
Skip to first unread message

Rain

unread,
Jan 4, 2017, 10:25:16 PM1/4/17
to Semantic Vectors
I want to use the semanticvectors API. I am completely new at this. I want to make a program which takes some documents and searches keywords and returns the documents which are conceptually similar to the search keywords. I want to know if there is any document from which I can get all the function and their functionality description and from which I can learn or if there is any example to do so.  In Lucene  , i can do like this http://www.lucenetutorial.com/lucene-in-5-minutes.html . But i don't know how to index and search in semantic vectors  . Please help me. Thank you.

.


Dominic Widdows

unread,
Jan 4, 2017, 10:26:33 PM1/4/17
to semanti...@googlegroups.com
The place to start is with building and searching a model, see https://github.com/semanticvectors/semanticvectors/wiki/InstallationInstructions#to-build-and-search-a-model and the related sections on this page.

Best wishes,
Dominic

--
You received this message because you are subscribed to the Google Groups "Semantic Vectors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticvectors+unsubscribe@googlegroups.com.
To post to this group, send email to semanticvectors@googlegroups.com.
Visit this group at https://groups.google.com/group/semanticvectors.
For more options, visit https://groups.google.com/d/optout.

Rain

unread,
Jan 5, 2017, 4:29:29 AM1/5/17
to Semantic Vectors
Hi , Dominic . Thank you for your helping . But Can you make an example ?  .  I want to  make a program like http://www.lucenetutorial.com/lucene-in-5-minutes.html . I don't want to use command line . Please hep me :((

Vào 10:26:33 UTC+7 Thứ Năm, ngày 05 tháng 1 năm 2017, Dominic đã viết:
The place to start is with building and searching a model, see https://github.com/semanticvectors/semanticvectors/wiki/InstallationInstructions#to-build-and-search-a-model and the related sections on this page.

Best wishes,
Dominic
On Wed, Jan 4, 2017 at 7:20 AM, Rain <ducl...@gmail.com> wrote:
I want to use the semanticvectors API. I am completely new at this. I want to make a program which takes some documents and searches keywords and returns the documents which are conceptually similar to the search keywords. I want to know if there is any document from which I can get all the function and their functionality description and from which I can learn or if there is any example to do so.  In Lucene  , i can do like this http://www.lucenetutorial.com/lucene-in-5-minutes.html . But i don't know how to index and search in semantic vectors  . Please help me. Thank you.

.


--
You received this message because you are subscribed to the Google Groups "Semantic Vectors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticvecto...@googlegroups.com.
To post to this group, send email to semanti...@googlegroups.com.

Dominic Widdows

unread,
Jan 5, 2017, 2:26:22 PM1/5/17
to semanti...@googlegroups.com
Sorry, I don't know of a single program that does all this without requiring the user to use the command line to string together some commands. You might be able to find a GUI-driven version for something similar, I don't know of one for SemanticVectors.

The instructions at http://www.lucenetutorial.com/lucene-in-5-minutes.html do ask you to use the command line, and I think it assumes that you've compiled the source file and set up some classpath stuff.

Good luck,
Dominic

To unsubscribe from this group and stop receiving emails from it, send an email to semanticvectors+unsubscribe@googlegroups.com.
To post to this group, send email to semanticvectors@googlegroups.com.

Michael Ruepp

unread,
Jan 5, 2017, 2:30:45 PM1/5/17
to semanti...@googlegroups.com
I wrote a GUI Version of SV. I will put it on Github tomorrow.


Mit freundlichen Grüssen/Best regards,

Michael Ruepp

Dominic Widdows

unread,
Jan 5, 2017, 2:44:26 PM1/5/17
to semanti...@googlegroups.com
That'd be cool - thank you Michael :)

> To unsubscribe from this group and stop receiving emails from it, send an email to semanticvectors+unsubscribe@googlegroups.com.
> To post to this group, send email to semanticvectors@googlegroups.com.

> Visit this group at https://groups.google.com/group/semanticvectors.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Semantic Vectors" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to semanticvectors+unsubscribe@googlegroups.com.
> To post to this group, send email to semanticvectors@googlegroups.com.

> Visit this group at https://groups.google.com/group/semanticvectors.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Semantic Vectors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticvectors+unsubscribe@googlegroups.com.
To post to this group, send email to semanticvectors@googlegroups.com.

Rain

unread,
Jan 5, 2017, 9:06:29 PM1/5/17
to Semantic Vectors
Tks Michael :) . 

Vào 02:30:45 UTC+7 Thứ Sáu, ngày 06 tháng 1 năm 2017, Michael Ruepp đã viết:

Rain

unread,
Jan 5, 2017, 9:11:06 PM1/5/17
to Semantic Vectors
No that instructions doesn't use the command line . It just use function in Lucene . 

Vào 02:26:22 UTC+7 Thứ Sáu, ngày 06 tháng 1 năm 2017, Dominic đã viết:

Michael Ruepp

unread,
Jan 7, 2017, 11:16:26 AM1/7/17
to semanti...@googlegroups.com
Hi all,

Semantic Analysis is a JAVA GUI Packaged Software to analyze and learn on large text corpora, supporting a lot of different doc formats on a semantic level.
It includes a reader with split view and 2 dimensional navigation, a word highlighting feature and the option to use different search corpora and learning corpora.

It utilize the semantic vectors package.

Happy to get feedback on this, pls use the issue tracker on the site:

https://bitbucket.org/mruepp/semantic-analysis/overview



Mit freundlichen Grüssen/Best regards,

Michael Ruepp, BA

Glen Newton

unread,
Jan 7, 2017, 6:37:53 PM1/7/17
to semanti...@googlegroups.com
Started with: java -jar Semantic\ Search.jar

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tika/exception/TikaException
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
    at java.lang.Class.getMethod0(Class.java:3018)
    at java.lang.Class.getMethod(Class.java:1784)
    at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.apache.tika.exception.TikaException
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 7 more

$ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

On Fedora Linux

Glen

> To unsubscribe from this group and stop receiving emails from it, send an email to semanticvectors+unsubscribe@googlegroups.com.
> To post to this group, send email to semanticvectors@googlegroups.com.

> Visit this group at https://groups.google.com/group/semanticvectors.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Semantic Vectors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticvectors+unsubscribe@googlegroups.com.
To post to this group, send email to semanticvectors@googlegroups.com.

Dominic Widdows

unread,
Jan 7, 2017, 7:46:15 PM1/7/17
to semanti...@googlegroups.com
Thant's terrific, Michael. Thank you!

I've added a pointer to your project from the main Wiki page at https://github.com/semanticvectors/semanticvectors/wiki.

Best wishes,
Dominic

> To unsubscribe from this group and stop receiving emails from it, send an email to semanticvectors+unsubscribe@googlegroups.com.
> To post to this group, send email to semanticvectors@googlegroups.com.

> Visit this group at https://groups.google.com/group/semanticvectors.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Semantic Vectors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semanticvectors+unsubscribe@googlegroups.com.
To post to this group, send email to semanticvectors@googlegroups.com.

Michael Ruepp

unread,
Jan 7, 2017, 8:19:24 PM1/7/17
to semanti...@googlegroups.com
Sorry for that, I forgot to provide the lib folder. Please re-download the Jar zip, unzip and run again.

Rain

unread,
Jan 8, 2017, 1:19:18 AM1/8/17
to Semantic Vectors

Hi Guys , I downloaded it but i don't know how to use . I just see a lib folder and Semantic Search .jar . Can you make a video how to use  for a example :) .

Vào 10:25:16 UTC+7 Thứ Năm, ngày 05 tháng 1 năm 2017, Rain đã viết:

Michael Ruepp

unread,
Jan 9, 2017, 8:31:14 AM1/9/17
to semanti...@googlegroups.com
Rain,

download the Windows Installer. Install the Software and run from Startmenu...


Mit freundlichen Grüssen/Best regards,

Michael Ruepp, BA





Rain

unread,
Jan 14, 2017, 12:26:41 PM1/14/17
to Semantic Vectors

Hi Michael , Sorry but can you reup-load your software ? I can't download it @@ . See my picture . 

Vào 20:31:14 UTC+7 Thứ Hai, ngày 09 tháng 1 năm 2017, Michael Ruepp đã viết:
Reply all
Reply to author
Forward
0 new messages