%%
%% This is file `linguistix-leipzig.sty'.
%%
%% ---------------------------------------------------------
%% Package:      LinguisTiX-Leipzig
%% Version:      v0.1
%% Author:       निरंजन
%% Description:  Leipzig-style glossing with tagging.
%% Repository:   puszcza.gnu.org.ua/projects/linguistix
%% License:      GPLv3+
%% ---------------------------------------------------------
%%
%% The LinguisTiX-leipzig package v0.1
%% Copyright © 2026 निरंजन
%%
%% This program is free software: you can redistribute it
%% and/or modify it under the terms of the GNU General
%% Public License as published by the Free Software
%% Foundation, either version 3 of the License, or (at your
%% option) any later version.
%%
%% This program is distributed in the hope that it will be
%% useful, but WITHOUT ANY WARRANTY; without even the
%% implied warranty of MERCHANTABILITY or FITNESS FOR A
%% PARTICULAR PURPOSE. See the GNU General Public License
%% for more details.
%%
%% You should have received a copy of the GNU General Public
%% License along with this program. If not, see
%% <https://www.gnu.org/licenses/>.
%%
%% ---------------------------------------------------------
\ProvidesExplPackage{linguistix-leipzig}
                    {2026-01-19}
                    {v0.1}
                    {%
                      Leipzig-style glossing with tagging%
                    }

\RequirePackage { linguistix-glossing }

\lngx_gloss_new:nn { 1     } { first~ person }
\lngx_gloss_new:nn { 2     } { second~ person }
\lngx_gloss_new:nn { 3     } { third~ person }
\lngx_gloss_new:nn { a     } {
  agent-like~ argument~ of~ canonical~ transitive~ verb
}
\lngx_gloss_new:nn { abl   } { ablative }
\lngx_gloss_new:nn { abs   } { absolutive }
\lngx_gloss_new:nn { acc   } { accusative }
\lngx_gloss_new:nn { adj   } { adjective }
\lngx_gloss_new:nn { adv   } { adverb(ial) }
\lngx_gloss_new:nn { agr   } { agreement }
\lngx_gloss_new:nn { all   } { allative }
\lngx_gloss_new:nn { antip } { antipassive }
\lngx_gloss_new:nn { appl  } { applicative }
\lngx_gloss_new:nn { art   } { article }
\lngx_gloss_new:nn { aux   } { auxiliary }
\lngx_gloss_new:nn { ben   } { benefactive }
\lngx_gloss_new:nn { caus  } { causative }
\lngx_gloss_new:nn { clf   } { classifier }
\lngx_gloss_new:nn { com   } { comitative }
\lngx_gloss_new:nn { compl } { completive }
\lngx_gloss_new:nn { cond  } { conditional }
\lngx_gloss_new:nn { cop   } { copula }
\lngx_gloss_new:nn { cvb   } { converb }
\lngx_gloss_new:nn { dat   } { dative }
\lngx_gloss_new:nn { decl  } { declarative }
\lngx_gloss_new:nn { def   } { definite }
\lngx_gloss_new:nn { dem   } { demonstrative }
\lngx_gloss_new:nn { det   } { determiner }
\lngx_gloss_new:nn { dist  } { distal }
\lngx_gloss_new:nn { distr } { distributive }
\lngx_gloss_new:nn { du    } { dual }
\lngx_gloss_new:nn { dur   } { durative }
\lngx_gloss_new:nn { erg   } { ergative }
\lngx_gloss_new:nn { excl  } { exclusive }
\lngx_gloss_new:nn { f     } { feminine }
\lngx_gloss_new:nn { foc   } { focus }
\lngx_gloss_new:nn { fut   } { future }
\lngx_gloss_new:nn { gen   } { genitive }
\lngx_gloss_new:nn { imp   } { imperative }
\lngx_gloss_new:nn { incl  } { inclusive }
\lngx_gloss_new:nn { ind   } { indicative }
\lngx_gloss_new:nn { indf  } { indefinite }
\lngx_gloss_new:nn { inf   } { infinitive }
\lngx_gloss_new:nn { ins   } { instrumental }
\lngx_gloss_new:nn { intr  } { intransitive }
\lngx_gloss_new:nn { ipfv  } { imperfective }
\lngx_gloss_new:nn { irr   } { irrealis }
\lngx_gloss_new:nn { loc   } { locative }
\lngx_gloss_new:nn { m     } { masculine }
\lngx_gloss_new:nn { n     } { neuter }
\lngx_gloss_new:nn { n-    } { non- }
\lngx_gloss_new:nn { neg   } { negative }
\lngx_gloss_new:nn { nmls  } {
  nominaliser / nominalisation
}
\lngx_gloss_new:nn { nmlz  } {
  nominalizer / nominalization
}
\lngx_gloss_new:nn { nom   } { nominative }
\lngx_gloss_new:nn { obj   } { object }
\lngx_gloss_new:nn { obl   } { oblique }
\lngx_gloss_new:nn { p     } {
  patient-like~ argument~ of~ canonical~ transitive~ verb
}
\lngx_gloss_new:nn { pass  } { passive }
\lngx_gloss_new:nn { pfv   } { perfective }
\lngx_gloss_new:nn { pl    } { plural }
\lngx_gloss_new:nn { poss  } { possessive }
\lngx_gloss_new:nn { pred  } { predicative }
\lngx_gloss_new:nn { prf   } { perfect }
\lngx_gloss_new:nn { prs   } { present }
\lngx_gloss_new:nn { prog  } { progressive }
\lngx_gloss_new:nn { proh  } { prohibitive }
\lngx_gloss_new:nn { prox  } { proximal/proximate }
\lngx_gloss_new:nn { pst   } { past }
\lngx_gloss_new:nn { ptcp  } { participle }
\lngx_gloss_new:nn { purp  } { purposive }
\lngx_gloss_new:nn { q     } { question~ particle/marker }
\lngx_gloss_new:nn { quot  } { quotative }
\lngx_gloss_new:nn { recp  } { reciprocal }
\lngx_gloss_new:nn { refl  } { reflexive }
\lngx_gloss_new:nn { rel   } { relative }
\lngx_gloss_new:nn { res   } { resultative }
\lngx_gloss_new:nn { s     } {
  single~ argument~ of~ canonical~ intransitive~ verb
}
\lngx_gloss_new:nn { sbj   } { subject }
\lngx_gloss_new:nn { sbjv  } { subjunctive }
\lngx_gloss_new:nn { sg    } { singular }
\lngx_gloss_new:nn { top   } { topic }
\lngx_gloss_new:nn { tr    } { transitive }
\lngx_gloss_new:nn { voc   } { vocative }
\bool_if:nTF {
  \str_if_eq_p:Vn \l_lngx_gls_language_str { en-GB } ||
  \str_if_eq_p:Vn \l_lngx_gls_language_str { en-AU } ||
  \str_if_eq_p:Vn \l_lngx_gls_language_str { en-NZ }
} {
  \lngx_gloss_new:nn { comp  } { complementiser }
} {
  \lngx_gloss_new:nn { comp  } { complementizer }
}