Hello again. I posted to PerlMonks forum a few short months ago, asking about the resources available for natural language processing in Perl. Well, the project has gone far since those days. . . (reminiscence) But now I've run into a problem!

I'm using XML-RPC to query the ConceptNet database. For the most part it works flawlessly, but on the behemoths I get this error: "not well-formed (invalid token) [. . . (blah blah) . . .] at C:/Perl/lib/XML/Parser.pm line 187" And I think to myself: ohh no! For a while, I've been working around the error, but I'm to the point where I have no alternative but to attempt to tackle the problem. So I've been thinking. . .

Is there a better alternative to Frontier::Client? I've looked and couldn't find such a thing. So I thought that perhaps I could edit Frontier::Client and replace XML::Parser with some other module that could handle larger files. Is there a way that I could implement XML::Twig inside Frontier? Or is there a better option?

All help will be greatly appreciated
- Justin

In reply to XML-RPC troubles. . . by framboise

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.