<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>LFG</title><revhistory><revision><revnumber>9</revnumber><date>2017-02-07 11:35:27</date><authorinitials>AgnieszkaPatejuk</authorinitials></revision><revision><revnumber>8</revnumber><date>2017-02-07 11:34:27</date><authorinitials>AgnieszkaPatejuk</authorinitials></revision><revision><revnumber>7</revnumber><date>2016-05-01 11:14:42</date><authorinitials>AgnieszkaPatejuk</authorinitials></revision><revision><revnumber>6</revnumber><date>2015-07-14 14:18:06</date><authorinitials>AgnieszkaPatejuk</authorinitials></revision><revision><revnumber>5</revnumber><date>2013-01-23 23:20:02</date><authorinitials>AdamPrzepiorkowski</authorinitials></revision><revision><revnumber>4</revnumber><date>2013-01-23 20:27:20</date><authorinitials>AgnieszkaPatejuk</authorinitials></revision><revision><revnumber>3</revnumber><date>2013-01-23 20:17:47</date><authorinitials>AgnieszkaPatejuk</authorinitials></revision><revision><revnumber>2</revnumber><date>2012-10-30 13:15:03</date><authorinitials>MichalLenart</authorinitials></revision><revision><revnumber>1</revnumber><date>2012-10-29 01:33:41</date><authorinitials>AdamPrzepiorkowski</authorinitials></revision></revhistory></articleinfo><section><title>POLFIE – an LFG grammar of Polish</title><para>POLFIE is an LFG grammar of Polish implemented in the <ulink url="http://www2.parc.com/isl/groups/nltt/xle/">XLE</ulink> system (Xerox Linguistic Environment). </para><para>POLFIE has been developed at the Institute of Computer Science, Polish Academy of Sciences (IPI PAN) within three projects: NEKST, CLARIN-PL and CLARIN-PL 2. It provides a two-layer representation: constituent structure (c-structure, tree representation) and functional structure (f-structure, AVM representation). It is based on two previous implemented grammars of Polish: its c-structure is based on GFJP2, a DCG grammar used by the parser Świgra, while its f-structure is inspired by FOJP, an HPSG grammar of Polish. Lexical entries used by the grammar are created with the help of two state-of-the-art resources for Polish: Morfeusz2, a morphological analyser, and Walenty, a valence dictionary. </para><para>POLFIE-OT is a version of POLFIE enriched with OT (Optimality Theory) constraints for the purpose of automatic disambiguation of resulting parses – according to defined criteria, certain parses are considered optimal, while the remaining ones are considered unoptimal (it is possible, however, to view the unoptimal parses). </para><para>The grammar is made available according to the terms of <ulink url="http://www.gnu.org/licenses/gpl-3.0.en.html">GNU General Public License (version 3)</ulink> unless stated otherwise. </para></section><section><title>Online demo</title><para>POLFIE is also available as a web service (it does not require a local installation of XLE) via XLE-Web (part of <ulink url="http://iness.uib.no">INESS</ulink>): </para><itemizedlist><listitem><para>choose grammar version (direct links): </para><itemizedlist><listitem><para><ulink url="http://clarino.uib.no/iness/xle-web?grammar=Polish%20(POLFIE)">POLFIE (basic version)</ulink> </para></listitem><listitem><para><ulink url="http://clarino.uib.no/iness/xle-web?grammar=Polish%20(POLFIE-OT)">POLFIE-OT (version with OT constraints)</ulink> </para></listitem></itemizedlist></listitem><listitem><para>write a sentence in the relevant field </para></listitem><listitem><para>click the &quot;Parse sentence&quot; button </para></listitem><listitem><para>to see unoptimal parses with the OT version, check &quot;Show unoptimal&quot; and click the &quot;Parse sentence&quot; button </para></listitem></itemizedlist></section><section><title>Download</title><para>Download the CLARIN-PL release of POLFIE (May 2016): </para><itemizedlist><listitem><para>POLFIE: <ulink url="http://zil.ipipan.waw.pl/LFG/LFG?action=AttachFile&amp;do=get&amp;target=POLFIE_CLARIN-PL.tar.bz2">POLFIE_CLARIN-PL.tar.bz2</ulink> </para></listitem><listitem><para>POLFIE-OT: <ulink url="http://zil.ipipan.waw.pl/LFG/LFG?action=AttachFile&amp;do=get&amp;target=POLFIE-OT_CLARIN-PL.tar.bz2">POLFIE-OT_CLARIN-PL.tar.bz2</ulink> </para></listitem></itemizedlist></section></article>