From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/103611 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jeroen Newsgroups: gmane.comp.tex.context Subject: Re: IBM Wordcloud with the Filter Module Date: Mon, 11 Mar 2019 20:41:00 +0000 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0821012446740205140==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="129418"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 11 21:40:08 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1h3RiR-000XVg-G7 for gctc-ntg-context-518@m.gmane.org; Mon, 11 Mar 2019 21:40:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A7F28FAACF; Mon, 11 Mar 2019 21:39:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jEQie3Efr2B2; Mon, 11 Mar 2019 21:39:40 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E30BDFAAD0; Mon, 11 Mar 2019 21:39:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 392C0FAACE for ; Mon, 11 Mar 2019 21:39:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05foZrJPTfnB for ; Mon, 11 Mar 2019 21:39:39 +0100 (CET) Original-Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 2FE74FAAA3 for ; Mon, 11 Mar 2019 21:39:39 +0100 (CET) Original-Received: by mail-qt1-f173.google.com with SMTP id d16so94477qtn.10 for ; Mon, 11 Mar 2019 13:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Caoneeih6KB+7DlkpuzLiagkt5Z1mnzjMTg4/4sEioI=; b=oL7j+44Lwns0ruDWHIJQY09A6wl4j9tb8cdzxV2OnreAJvIC7Mq1hZJCoFjZJAgQAg V136/gzCTXnp0rlHtTio2Z0EyEtTtJMPJ9N/vkGWu7ktW1ZhDztZiO49XQR7E+uTzUly SuPgfIK0otFvS7klLrq3Oa80ygzdRHboqtwud4qhDDcC7tRc7RQbdCXN1atGObOJaCAn oZskp6jSCjyrZOH30lJ24A/SrqoUvl3kGo5dJbzm3PB12wQtw3CPDKG6YKwnI9Au3y8g 7WVGgO1qgXdJgQbuWMaFXJnzgcuFy5BV3nEUbPMYmUPgCgt+OhnJNpJrD2RWkWUQKBKe PBlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Caoneeih6KB+7DlkpuzLiagkt5Z1mnzjMTg4/4sEioI=; b=pcLmjpJizlySnRKVqFMdQFUkisew1GuI4XxAe6asrX6LAJLeLKQU2PiRDS/LF4kgQ9 SUyyA3ssqN6fux2WJ7Pra8dHxBf8OMSzszQ0kVLFMc+69zc6vudtcHYBZkQXj3vKQOg4 brnh/VIQbXWs2Zs8+Ygpo/PrQUQlETCvbGUIG4tefX/Nc5eJjwzejsvAFHPQE9n75al/ M/LRNXHdye271S4lgKUihEy68inEtIGkd+lrN691mqZVVZJlFHzytZzHojcGkaB7/yM7 nT8inWLq63paBSEJ6x2anFIHh0MkshFcQP/tzdv45qQsLM6UCinfDskl2dBlK63cucy/ bobg== X-Gm-Message-State: APjAAAVdF15Y5yNKTQo4TTdoZidBM7ahtPBenCEcQTmthP0odDanUWP6 26TenEHrK9lyugurTw60KUlMcC7ejovGFcQGVWYHYYkC X-Google-Smtp-Source: APXvYqwQSK9DgW/dXPS8reqyX+sVQXwuWF2femsWFRkUbjB80BlxeXc12pFG9bdJUSb2EGwcKbUd/1e+dMgeBQYMBjs= X-Received: by 2002:a0c:92ec:: with SMTP id c41mr27897600qvc.158.1552336777457; Mon, 11 Mar 2019 13:39:37 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:103611 Archived-At: --===============0821012446740205140== Content-Type: multipart/alternative; boundary="0000000000003134e90583d792e8" --0000000000003134e90583d792e8 Content-Type: text/plain; charset="UTF-8" Yes, there is a batch file for testing purposes, and that one works fine.... Thanks, Jeroen Op ma 11 mrt. 2019 om 16:55 schreef Aditya Mahajan : > Can you run the java file from the command promt? > > Aditya > > On Mon, 11 Mar 2019, Jeroen wrote: > > > Dear List, > > > > I am trying to get the IBM wordcloud java application working with the > > filter module on MS Windows. This configuration does not create the > > wordcloud png file. The in and out files > "naamloos-10-temp-wordcloud-x.tmp" > > are actually created. If this configuration correct? Java is installed > and > > I am indicating absolute file locations. > > > > Thanks, Jeroen > > > > > > \usemodule[filter] > > > > \defineexternalfilter > > > > [wordcloud] > > > > [filtercommand={/Program Files/Java/jre1.8.0_181/bin/java > > > > -jar /context/wordcloud/ibm-word-cloud.jar > > > > -c /context/wordcloud/examples/configuration.txt > > > > -w 800 > > > > -h 600 > > > > -o \externalfilteroutputfile\space > > > > -i \externalfilterinputfile}, > > > > output=\externalfilterbasefile.png, > > > > readcommand=\ExternalFigure, > > > > continue=yes, > > > > purge=no,] > > > > \def\ExternalFigure#1{\externalfigure[#1]} > > > > \starttext > > > > \startwordcloud %[width=100] > > > > Thus, I came to the conclusion that the designer of a new > > > > system must not only be the implementer and first > > > > large||scale user; the designer should also write the first > > > > user manual. > > > > The separation of any of these four components would have > > > > hurt \TeX\ significantly. If I had not participated fully in > > > > all these activities, literally hundreds of improvements > > > > would never have been made, because I would never have > > > > thought of them or perceived why they were important. > > > > But a system cannot be successful if it is too strongly > > > > influenced by a single person. Once the initial design is > > > > complete and fairly robust, the real test begins as people > > > > with many different viewpoints undertake their own > > > > experiments. > > > > \stopwordcloud > > > > \stoptext > > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --0000000000003134e90583d792e8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, there is a batch file for testing purposes, and = that one works fine....

Thanks, Jeroen

Op= ma 11 mrt. 2019 om 16:55 schreef Aditya Mahajan <adityam@umich.edu>:
Can you= run the java file from the command promt?

Aditya

On Mon, 11 Mar 2019, Jeroen wrote:

> Dear List,
>
> I am trying to get the IBM wordcloud java application working with the=
> filter module on MS Windows. This configuration does not create the > wordcloud png file. The in and out files "naamloos-10-temp-wordcl= oud-x.tmp"
> are actually created. If this configuration correct? Java is installed= and
> I am indicating absolute file locations.
>
> Thanks, Jeroen
>
>
> \usemodule[filter]
>
> \defineexternalfilter
>
> [wordcloud]
>
> [filtercommand=3D{/Program Files/Java/jre1.8.0_181/bin/java
>
> -jar /context/wordcloud/ibm-word-cloud.jar
>
> -c /context/wordcloud/examples/configuration.txt
>
> -w 800
>
> -h 600
>
> -o \externalfilteroutputfile\space
>
> -i \externalfilterinputfile},
>
> output=3D\externalfilterbasefile.png,
>
> readcommand=3D\ExternalFigure,
>
> continue=3Dyes,
>
> purge=3Dno,]
>
> \def\ExternalFigure#1{\externalfigure[#1]}
>
> \starttext
>
> \startwordcloud %[width=3D100]
>
> Thus, I came to the conclusion that the designer of a new
>
> system must not only be the implementer and first
>
> large||scale user; the designer should also write the first
>
> user manual.
>
> The separation of any of these four components would have
>
> hurt \TeX\ significantly. If I had not participated fully in
>
> all these activities, literally hundreds of improvements
>
> would never have been made, because I would never have
>
> thought of them or perceived why they were important.
>
> But a system cannot be successful if it is too strongly
>
> influenced by a single person. Once the initial design is
>
> complete and fairly robust, the real test begins as people
>
> with many different viewpoints undertake their own
>
> experiments.
>
> \stopwordcloud
>
> \stoptext
>
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net
archive=C2=A0 :
https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000003134e90583d792e8-- --===============0821012446740205140== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0821012446740205140==--