private WordFormMorphology_t[] TryGetByPosTaggerOutputType(ref WordMorphology_t wordMorphology
                                                                   , PartOfSpeechEnum filterPartOfSpeech)
        {
            if ((wordMorphology.PartOfSpeech & filterPartOfSpeech) == filterPartOfSpeech)
            {
                var morphologies = TryGetByPosTaggerOutputType(wordMorphology.WordFormMorphologies, filterPartOfSpeech);
                return(morphologies);
            }

            return(null);
        }
        private WordFormMorphology_t[] TryGetByPosTaggerOutputType(ref WordMorphology_t wordMorphology
                                                                   , PartOfSpeechEnum filterPartOfSpeech_1, PartOfSpeechEnum filterPartOfSpeech_2)
        {
            if ((wordMorphology.PartOfSpeech & filterPartOfSpeech_1) == filterPartOfSpeech_1)
            {
                var morphologies = TryGetByPosTaggerOutputType(wordMorphology.WordFormMorphologies, filterPartOfSpeech_1);
                if (morphologies != null)
                {
                    return(morphologies);
                }
            }

            if ((wordMorphology.PartOfSpeech & filterPartOfSpeech_2) == filterPartOfSpeech_2)
            {
                var morphologies = TryGetByPosTaggerOutputType(wordMorphology.WordFormMorphologies, filterPartOfSpeech_2);
                //if ( morphologies != null )
                //{
                return(morphologies);
                //}
            }

            return(null);
        }