Permalink
Browse files

Жанр - это тоже дескриптор

  • Loading branch information...
alkozko committed Oct 30, 2017
1 parent f60f3dc commit 4f2154b4263076a962d944714c67e401176ebb1c
Showing with 8 additions and 0 deletions.
  1. +2 −0 film.cxx
  2. +6 −0 mydic.gzt
@@ -5,7 +5,9 @@ Title -> Word<h-reg1, quoted>;
Title -> Word<h-reg1, l-quoted, ~r-quoted> Word<~l-quoted, r-quoted>;
Title -> Word<h-reg1, l-quoted, ~r-quoted> AnyWord<~r-quoted>+ Word<~l-quoted, r-quoted>;

Genre -> Word<kwtype="жанр">;
FilmDescriptor -> Adj* Word<wff=/фильм(-.+)?/>;
FilmDescriptor -> Adj* Genre;

S -> Title interp(Film.Name::not_norm) Hyphen* FilmDescriptor;
S -> FilmDescriptor Title interp(Film.Name::not_norm);
@@ -5,6 +5,12 @@ import "articles_base.proto";

import "facttypes.proto";

TAuxDicArticle "жанр"
{
key = "комедия"
key = "боевик"
}

TAuxDicArticle "фильм"
{
key = { "tomita:film.cxx" type=CUSTOM }

0 comments on commit 4f2154b

Please sign in to comment.