1% This file is part of the Attempto Parsing Engine (APE). 2% Copyright 2008-2013, Attempto Group, University of Zurich (see http://attempto.ifi.uzh.ch). 3% 4% The Attempto Parsing Engine (APE) is free software: you can redistribute it and/or modify it 5% under the terms of the GNU Lesser General Public License as published by the Free Software 6% Foundation, either version 3 of the License, or (at your option) any later version. 7% 8% The Attempto Parsing Engine (APE) is distributed in the hope that it will be useful, but WITHOUT 9% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 10% PURPOSE. See the GNU Lesser General Public License for more details. 11% 12% You should have received a copy of the GNU Lesser General Public License along with the Attempto 13% Parsing Engine (APE). If not, see http://www.gnu.org/licenses/. 14 15 16%============================================================================== 17% Convert fit (i.e. ProFIT) files into plp (i.e. Prolog). 18% Kaarel Kaljurand 19% Tobias Kuhn 20% 2008-03-13 21%============================================================================== 22% Notes: 23% * No interactivity is needed, so you can run it on the commandline, e.g. 24% swipl -g "[fit_to_plp], halt." 25%============================================================================== 26 27:- op(400, fy, -). 28:- op(400, fy, ~). 29:- op(500, xfx, =>). 30:- op(500, xfx, v). 31 32 33:- [prologfeatures]. 34 35:- resolve_features([sorts, grammar, grammar_functionwords, grammar_contentwords]).