clustering module

2018-05-19 Thread Marios lyberak
Greetings, which module you would suggest one should use, in order to be able to create clusters of the contents of a tag? Mostly i guess one should use the key collision fingerprint method... I plan to use https://metacpan.org/pod/Text::Fingerprint but i would appreciate if anyone has a bette

create a script out of many perl commands

2017-07-18 Thread Marios lyberak
perl script_one.pl file.txt perl script_two.pl perl script_three.pl command file_one.log file_two.log a perl one liner for example perl -lpe 's/\s*$//' How could i combine all the above in a bash script? i work on an ubuntu 16.04 machine I have tried with the && in linux, but i got errors

split a huge json file in separate per object files

2017-03-10 Thread Marios lyberak
Hello community, i have a json file, with a structure like this: { "106" : { "id54011" : [ { "partno1" : "16690617" }, { "partno2" : "5899180" } ], "parts" : [ "0899180", "16920617" ], "id5

scripts imported into dancer

2016-09-10 Thread Marios lyberak
Hello great minds, not a perl hacker, so please bare with my questions... i am trying to make my work served via Dancer. I have many scripts, that i run in the console: perl somecommand filetobeprocessed.mrc and then in the folder i ran the command, i get the result file. My question is how i

identify encoding from a file

2016-02-06 Thread Marios lyberak
Hello community, i have a file which is generated out of an old Paradox database, and i try to figure out what is the encoding of these strangely represented characters in ̡觴ݲ -> Μαθητές and in ʡ解紝 -> Καθητητές Our goal is to convert the attached file to a UTF encoding, so as the characte