ngbabu has asked for the wisdom of the Perl Monks concerning the following question:

I am using Biblio-Citation-Parser for doing this task. It fairly gives the required output.

1) Is there any way we can assign the templates to be matched. I.e. out of 400 templates, I will define only 8 to 9 templates to be matched so that the matching will be accurate.

2) Is there any way to build the templates based on sample file?

Please help in achieving the above task.

Replies are listed 'Best First'.
Re: Parsing Citations
by Your Mother (Archbishop) on Oct 10, 2008 at 21:28 UTC

    Without more information this is a pretty wide net / tall order to put out there. I'd start with linking Biblio::Citation::Parser to make sure that's you're talking about.

    1) Yes. Did you look through the docs? It took me 10 seconds to find this :) from the how to-

    $Biblio::Citation::Parser::Templates::templates = [ '_AUTHORS_, _PUBLICATION_, _YEAR_, _ISSUE_, _SPAGE_-_EPAGE_', ... ];

    2) Probably. This would likely be a bit difficult but if you provided samples of your input, you might get a bite here.