root/RussianLemmatizer.hpp

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* -*- coding: utf-8; mode: c++; -*-
   2  * Concordance to A. S. Pushkin's Works - Lemmatizer header
   3  * $Id: RussianLemmatizer.hpp 1 2012-06-02 08:43:50Z isao $
   4  * Copyright (C) 2012, isao yasuda
   5  */
   6 
   7 #ifndef CONCORDANCE_LEMMATIZER
   8 #define CONCORDANCE_LEMMATIZER
   9 
  10 #include <turglem/lemmatizer.hpp>
  11 #include <turglem/russian/charset_adapters.hpp>
  12 
  13 void lemmatize(std::string& tword, tl::lemmatizer& lem);
  14 
  15 // Lemmatizer 見出語属性構造体
  16 struct wordst {
  17     std::string word; // 見出語
  18     int part;         // 品詞
  19     int prio;         // プライオリティ
  20     int len;          // 長さ
  21 };
  22 
  23 #endif

/* [previous][next][first][last][top][bottom][index][help] */