Hi and good morning,
I resaved the file as a .txt (utf-8) and I am still getting the same error.
This is the data in the file:

5 15
1 1.0000 3 0.5544 5 0.4431
2 1.0000 3 0.1386 4 0.4599 5 0.5413
1 0.5544 2 0.1386 3 1.0000
2 0.4599 4 1.0000
1 0.4431 2 0.5413 5 1.0000

I found this data
here<http://search.cpan.org/~tpederse/Text-SenseClusters-1.03/Toolkit/clusterstop/clusterstopping.pl>
.

This is the command that I have used:
root@webservices:~/.cpan/build/Text-SenseClusters-1.03-5f8DVC/Toolkit/clusterstop#

*perl clusterstopping.pl <http://clusterstopping.pl>
/usr/SenseCluster/sample_clusters_stop_ test.txt *

and this is the error that I continue to get:



*h: cannot create
/root/.cpan/build/Text-SenseClusters-1.03-5f8DVC/Toolkit/clusterstop//usr/SenseCluster/sample_clusters_stop_test.txt.1:
Directory nonexistent Error while running vcluster --clmethod rb --crfun i2
--sim cos --rowmodel none --colmodel none --nooutput
/usr/SenseCluster/sample_clusters_stop_test.txt 1*

Does this second part of the error have something to do with the command
that I am entering? I have run successfully the *csh ./ALL-TESTS.sh *, so I
was under the impression that it is correctly installed... should I try
another command/another test?

The first part of the error seems to be looking for a Directory (?)  - so I
reran the command this time finishing at a directory that I created that
only contains this input file (I don't know if this is correct, I was
troubleshooting): and I got this error:

root@webservices:~/.cpan/build/Text-SenseClusters-1.03-5f8DVC/Toolkit/clusterstop#
*perl clusterstopping.pl <http://clusterstopping.pl> /usr/input_file/*








*Use of uninitialized value $line in scalar chomp at clusterstopping.pl
<http://clusterstopping.pl> line 735. Use of uninitialized value $line in
substitution (s///) at clusterstopping.pl <http://clusterstopping.pl> line
738.Use of uninitialized value $line in split at clusterstopping.pl
<http://clusterstopping.pl> line 744. Use of uninitialized value $rcnt in
numeric gt (>) at clusterstopping.pl <http://clusterstopping.pl> line
916.Use of uninitialized value $delta in concatenation (.) or string at
clusterstopping.pl <http://clusterstopping.pl> line 918. Use of
uninitialized value $thres in concatenation (.) or string at
clusterstopping.pl <http://clusterstopping.pl> line
918.ERROR(clusterstopping.pl <http://clusterstopping.pl>):            i2
values do not converge for the delta value of              (internally: ).
Try using larger delta value. *

I used the same sample file as before - I really do not know what I am
doing wrong.


Thank you again, in advance for any assistance/help, it is greatly
appreciated.



On Sun, Nov 10, 2013 at 8:13 PM, Ted Pedersen <[email protected]> wrote:

> This error you report is a little unusual ...
>
> >however, the sample data that you provide in the website (I used to
> >understand what I am
> >doing) - continuously gives me the following error -- which is why I have
> been >unable to solve the problem on my own --
> >it is because I do not understand what the machine is requiring from me.
>
> >sh: cannot create
> >/root/.cpan/build/Text-
>
> >SenseClusters-1.03->5f8DVC/Toolkit/clusterstop//homedtic/usr/SenseCluster/sense_clusters->sample.rtf.1:
> >Directory nonexistent
> >Error while running vcluster --clmethod rb --crfun i2 --sim
> >cos --rowmodel none --colmodel none --nooutput
> >/homedtic/usr/SenseCluster/sense_clusters-sample.rtf 1
>
> When I try to run clusterstopping with some of the sample data from
> the documentation, I get the following..
>
> This is from the web page, stored in t2.txt
>
> 6 5
>  1.3       2       0       0       3
>  2.1       0       4       2.7     0
>  1.3       2       0       0       3
>  2.1       0       4       2.7     0
>  1.3       2       0       0       3
>  2.1       0       4       2.7     0
>
> ted@marimba:~$ clusterstopping.pl t2.txt
> 1
>
> I notice you seem to be using an rtf file for the input data...my
> guess is that this will be a problem. Could you try my example above
> as a plain text file, and let me know what you get?
>
> Thanks!
> Ted
>
> On Sat, Nov 9, 2013 at 9:46 AM, Lauren Romeo <[email protected]>
> wrote:
> > Hi Professor Pederson,
> >
> > I am a new SenseClusters user and I am particularly interested in one
> Tool
> > :: ClusterStopping. I have been trying to implement it using it as a
> > standalone part of an experiment that I am running.
> >
> > In this way,  I already have data that I am working with (3-column
> > tab-separated format (target, slot-filler, weight)).
> >
> > Here is  small (10-line) sample of the format of my input:
> > abduction-n    into+n-the+n-a-j-loss-n    1
> > abduction-n    into+n-the+n-a-small-cut-n    2
> > abduction-n    into+n-the+n-j-bleeding-n    1
> > abduction-n    into+n-the+n-j-loss-n    1
> > zoonosis-n    of+n-j+n-the-location-n    1
> > zoonosis-n    of+n-j+n-the-world-n    1
> > zoonosis-n    of+n-j+n-the-development-n    1
> > zoonosis-n    of+n-j+n-the-j-collection-n    1
> > zoonosis-n    of+n-j+n-the-j-success-n    1
> > zoonosis-n    of+n-j+ns-photo-n    1
> >
> >
> > I have unsuccessfully been able to determine how I can translate my data
> to
> > a usable input file for this particular process.
> >
> > It is a rather large file (5GB). I am also not clear as to 1. if there
> is an
> > option to convert directly this format of
> > data into a sparse format (considering the size I suppose that is the
> best
> > option), however, the sample data that you provide in the website (I
> used to
> > understand what I am
> > doing) - continuously gives me the following error -- which is why I have
> > been unable to solve the problem on my own --
> > it is because I do not understand what the machine is requiring from me.
> >
> > sh: cannot create
> > /root/.cpan/build/Text-
> >
> SenseClusters-1.03-5f8DVC/Toolkit/clusterstop//homedtic/usr/SenseCluster/sense_clusters-sample.rtf.1:
> > Directory nonexistent
> > Error while running vcluster --clmethod rb --crfun i2 --sim
> > cos --rowmodel none --colmodel none --nooutput
> > /homedtic/usr/SenseCluster/sense_clusters-sample.rtf 1
> >
> >
> > Any assistance that you can provide to me would be fantastic, I have been
> > really trying to search online for
> > answers --- looking at the sample testdata in available in the program
> etc.,
> > but I have come to a deadend. Do you think
> > you would be able to provide me with any assistance regarding how my data
> > can be potentially used with your
> > clusterstopping.pl program?
> >
> > In advance, thank you very much for any assistance you might
> > be able to give.
> >
> > Again, thank you very much.
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > November Webinars for C, C++, Fortran Developers
> > Accelerate application performance with scalable programming models.
> Explore
> > techniques for threading, error checking, porting, and tuning. Get the
> most
> > from the latest Intel processors and coprocessors. See abstracts and
> > register
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> > _______________________________________________
> > senseclusters-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/senseclusters-users
> >
>
>
>
> --
> Ted Pedersen
> http://www.d.umn.edu/~tpederse
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> senseclusters-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/senseclusters-users
>



-- 
Lauren Romeo

+34 687 18 29 86 - mobile
www.laurenmromeo.com
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
senseclusters-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/senseclusters-users

Reply via email to