WordData.GetWord C# (CSharp) Méthode

GetWord() public méthode

public GetWord ( ) : string
Résultat string
    public string GetWord()
    {
        return word;
    }

Usage Example

    public void ProcessValidationSample(SentenceData sample)
    {
        n_test_samples++;

        for (int iword = 1; iword < sample.CountWords() - 1; ++iword)
        {
            WordData token = sample.GetWord(iword);

            string wordform = token.GetWord().ToLower();
            string lemma    = gren.GetEntryName(token.GetEntryID());
            if (IsUnknownLexem(lemma) || IsNumword(lemma))
            {
                continue;
            }

            CheckData d = new CheckData();
            d.POS_tag  = tags.MatchTags(token, gren);
            d.wordform = wordform;
            d.lemma    = lemma;

            check_data_list.Add(d);
        }


        return;
    }
All Usage Examples Of WordData::GetWord