File: map2.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 (22 lines) | stat: -rw-r--r-- 769 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
%**************************************************************************
%  File:     map2.fst  
%  Author:   Helmut Schmid; IMS, University of Stuttgart
%  Content:  deletes tags on the surface string
%  Modified: Fri Jun 17 14:34:43 2005 (schmid)   
%**************************************************************************

% definition of the symbol classes
#include "symbols.fst"


% delete unwanted symbols on the "surface"
% and map the feature <Stems> to the more specific features
% <BaseStem> <DerivStem> and <CompStem>

ALPHABET = [#Letter# #WordClass# #StemType# #Origin# #Complex# #InflClass#] \
	<classic>:[#classic#]

[#Affix#] .* |\
<NoDef>? (<Stem>:<BaseStem>  .* <base>  |\
	  <Stem>:<DerivStem> .* <deriv> |\
	  <Stem>:<CompStem>  .* <comp>) .*