User Profile

Collapse

Profile Sidebar

Collapse
kdsutaia
kdsutaia
Last Activity: Oct 11 '07, 01:26 AM
Joined: Nov 6 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • looking for API or way to store link content into directory and parse it

    hi!
    I am looking for a way to download content from given link. Is there API which I can use to detect file type (html, txt , pdf etc) and then parse it into text file as per the filetype using appropriate parser.

    komal
    See more | Go to post

  • kdsutaia
    started a topic Escaping punctuation characters
    in Perl

    Escaping punctuation characters

    hi!
    i m trying to do something like this.
    as I am doing tockenization. and wants to include all punctuation mark as tocken.

    [CODE=perl]
    if($punctuation ){
    grep {$p =~ m/$_/' '.$_.' '/g)} ("\.", "\%", "\'", "\\", "\[", "\]", "\{", "\}", "\"", "\>", "\?", "\<", "\#", "\~",...
    See more | Go to post
    Last edited by miller; Jul 20 '07, 10:35 PM. Reason: Code Tag and ReFormatting

  • problem with read line by line using BufferReader class

    hi!
    I am trying to read file line by line using BufferReader class.Following I have written to read but some how for few of the file it is not reading the whole file. Can any help me to resolve this or suggest me the best apporch to read line by line from given file ?


    try {
    br = FileRead.readTO Line(path ,filename);
    while ((line =br.readLine()) != null){
    line = line.toUpperCas e().trim();...
    See more | Go to post

  • can you give emaple how to write....
    See more | Go to post

    Leave a comment:


  • how to fetch specific text from inputed string using regex

    Hi!
    I want to fetch "name" as per the name of the journal.

    <JOURNAL> name </JOURNAL>

    name will be diff in diff files. I am reading file line by line and sending pattern
    <JOURNAL>([-_\\w\\s])</JOURNAL> to match . it matches but it matches whole string.
    I want within ( ) bracket as in perl we can get by $1 variable.

    thanks in advance.
    See more | Go to post

  • kdsutaia
    started a topic Read multiple files from 2 diff directories
    in Java

    Read multiple files from 2 diff directories

    hi!
    I hv to read two files from two diff directories and need to count pairs of words from both the files. as well I hv to keep track of no of documents where this terms present.
    All files are .xml files.. I am reading using saxparser.
    I was thinking using hashtable where keys are pair words and value will be the vector which contains word freq and doc freq.

    can any one suggest better approch then this. Secondly,...
    See more | Go to post

  • Thanks, I do read but I still need to know which approach is good to use.
    I am working on Linux.
    I was thinking to use System and pipe commond
    to call one program(.pl t.txt) at a time and send it's output to next .pl and next....

    second apprach i was thinking was,
    call diff modules:
    exmp
    main.pl

    require htmltotext qw(get_html);
    require tockenized qw(get_tocken);
    ...
    See more | Go to post

    Leave a comment:


  • Merge diff processes(.pl files) to one main program(.pl)

    In my program I have different .pl files.I come to a last stage of merging all files.

    my most of the program generate text file and that i need to give input to next process.Output of one file(Text file) to input to another.
    for example
    1)htmltotext.pl converts html file to text file then
    2)tockenized.pl converts text file with all tockens which again i am storing in text file.

    there are around 6...
    See more | Go to post

  • Thanks,
    I works..
    Thanks once again....
    See more | Go to post

    Leave a comment:


  • kdsutaia
    started a topic how to download web document using perl program
    in Perl

    how to download web document using perl program

    Hi!
    I need immediate help.my program needs to download URL.
    exp :

    http://www.google.com/search?sourceid =navclient&ie=U TF-8&rls=GGLG,GGLG :2006-14,GGLG:en&q=de fine%3a+HP


    i need this document downloaded from my program. How do i do that. please, help me.
    komal
    See more | Go to post

  • Google SOAP API and to get definitions of entered query

    Can any one help me with goggle SOAP API.I am new to web applications.
    my task is to fetch query result from goggle but query should be phrases for which use wants to know definitions.


    goggle provides functionality of define:HP
    this will return all definitions of HP. define is function which we are passing alone with query.

    My problem with Search API is it's works perfectly well with normal query...
    See more | Go to post

  • Google SOAP API and to get definitions of entered query

    Can any one help me with goggle SOAP API.I am new to web applications.
    my task is to fetch query result from goggle but query should be phrases for which use wants to know definitions.


    goggle provides functionality of define:HP
    this will return all definitions of HP. define is function which we are passing alone with query.

    My problem with Search API is it's works perfectly well with normal query...
    See more | Go to post

  • kdsutaia
    started a topic matrix manupulation
    in Perl

    matrix manupulation

    hi!
    i need to form matrix using perl and at every iteration it changes it value as well as column count.
    exp

    first step : 1 2 3 4 5 <- columns

    second {1,2} 3 4 5 <- having 4 column and each step it reduces like this.
    i do need to store each column names..

    I am new to perl.. can some one help me. how do i proceed.
    See more | Go to post

  • kdsutaia
    started a topic need excess define functionality of google
    in Java

    need excess define functionality of google

    Hi!
    Everyone,
    In my project i need to enter query on commond line and program should go to google and get googled output source file. can anyone give some idea how do i implement this ?
    i know i can use Google search API but i need a output of define functionality of google.
    exp:
    query define:HP
    it will return all definations of HP
    if we enter HP as query
    it ill return different than what we...
    See more | Go to post

  • kdsutaia
    started a topic get googled define functionality search result
    in Perl

    get googled define functionality search result

    Hi!
    Everyone,
    In my project i need to enter query and program should go to google and get googled output source file. can anyone give some idea how do i implement this ?
    i know i can use google search API and SOAP::Lite but my problem is
    i need to call define functionality of google.

    exmp : if we enter define:HP
    google returns all definitions of HP.
    it is different than entering query...
    See more | Go to post
No activity results to display
Show More
Working...