Re: kanjidic parser in Perl?




"Gabor Farkas" <gabor@xxxxxxxxxxxxxx> wrote in message news:1f516$42ffa6b0$55d8898b$6438@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Ben Bullock wrote:
David Alexander Ranvig wrote:

Ben Bullock <usenet@xxxxxxxxxx> writes:

| Does anyone know of a parser for Jim Breen's kanjidic written in
| Perl?

<URL: http://search.cpan.org> is a nice tool for finding all things
perl. Maybe you can use the module Lingua::JP::Kanjidic by Simon
Cozens?


Thanks for the tip. I had a look at it, and it seems to need some work. Doesn't parse all the fields in the dictionary yet, unfortunately. I'll try editing it up a bit.


sorry, but what are you trying to achieve?
i mean, what advanced features you need from a kanjidic parser?

for me it seems that 2-3 lines of perl (mostly splits) would completely parse the kanjidic database for you...

Thanks for your input.


gabor

.



Relevant Pages

  • Parsing problem
    ... With the little amount of Perl that I know, I have come to a dilemma. ... do not know how to parse this file so in column 1 is the number ... column to duplicate itself for every item. ... before the parser. ...
    (perl.beginners)
  • Re: a good TeX parser for use by software that needs to read TeX?
    ... : read TeX? ... In particular, has anyone used the perl Text::TeX parser, ... In addition, push $found into a list @commands, ...
    (comp.text.tex)
  • Re: Syntax checker wtf?
    ... the parser has no means to detect the error ... I'll note that perl has a similarly flexible syntax, ... example, if you get a runaway unclosed string or regexp operator, ...
    (comp.lang.ruby)
  • Re: Precedence of exponentiation
    ... The parser I'm writing isn't even written in Perl ... (nor does it use yacc), and that's my primary reason for this topic. ... > Digits: Digit | Digit Digits ...
    (comp.lang.perl.misc)
  • Re: Writing a C++ Style Checker
    ... This is going to be seriously hard work. ... you may be able to persuade your compiler to do the ... with a relatively simple parser, leaving the hard work of 'is this ... Perl distribution, which was intended to allow access to C structures by ...
    (comp.lang.perl.misc)