File: defaultstems.fst

package info (click to toggle)
sfst 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,036 kB
  • sloc: cpp: 6,969; lex: 567; yacc: 269; perl: 135; python: 100; makefile: 49; sh: 13
file content (29 lines) | stat: -rw-r--r-- 968 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  File:     defaultstems.fst
%  Author:   Helmut Schmid; IMS, Universitaet Stuttgart
%  Content:  generation of derivational and compounding stems
%            from base stems by means of default rules
%  Modified: Fri Jun 17 16:03:22 2005 (schmid)   
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% Default derivation and compounding stems are not generated for
% lexicon entries which start with <NoDef>


ALPHABET = [#Letter#]

% Rule which turns a adjectival base stem into a compounding stems
% The inflection feature is deleted; the morpheme itself is unchanged.

$DefCompAdj$ = $LEX$ ||\
 <BaseStem>:<CompStem> .* <ADJ><base>:<comp> [#Origin#] [#InflClass#]:<>


$DefDerivVerb$ = $LEX$ ||\
 <BaseStem>:<DerivStem> .* <V><base>:<deriv> [#Origin#] [#InflClass#]:<>



% Add the new stems to the set of stems
$BDKStem$ = $BDKStem$ | $DefCompAdj$ | $DefDerivVerb$