[Topic-models] Dynamic Topic Model C++ and Ngrams MALLET‏

Weifeng Ding vvkkharry at gmail.com
Fri Oct 30 06:43:54 EDT 2015


Do you mean compiling the cpp code to executable in Linux and then invoking
the executable in Windows?
It will certainly fail if it is the case.
Run the java code in Linux or port the cpp code to windows and compile it.

On Fri, Oct 30, 2015 at 6:50 AM, Piro Lena <piro_lena at hotmail.com> wrote:

> Hello,
>
> I am working on a project(master thesis) which requires use of DTMs, and
> the project is whole built in Java. I have been trying to call the c++ .exe
> file from my Java code after compiling it on Linux, but it doesn't work. Is
> there any solution to this implementation issue. Is it related somehow to
> the OS I  am working on?  (Windows  platform.) Do anyone have any
> solutions as I already spent a 2 weeks on this problem. :(
>
> Furthermore, regarding the implementation of NGrams Import Data, I have
> added the pipe TokenSequence2FeatureSequenceWithBigrams() to adapt the
> sequence for Ngrams. The .mallet file is created as the topics at some
> point are created, but the topic proportions per document are not
> generated. When I run it from terminal using -keep-sequence-bigrams it
> works everything fine. Am I missing any pipe to add ?? Or is there smth
> else?
>
> Thanks in advance for any suggestion or hints. Its highly appreciated.
>
> *Regards, *
>
> *Piro LENA *
> Msc. Software System Engineering, RWTH Aachen University
>
> Haarener Gracht 7b
> 52080 Aachen
> Germany
> piro_lena at hotmail.com   or   piro.lena at rwth-aachen.de
> Mobile| +49 176 72394455
>
> _______________________________________________
> Topic-models mailing list
> Topic-models at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/topic-models
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/topic-models/attachments/20151030/a4f68480/attachment.html>


More information about the Topic-models mailing list