Beispiel #1
0
 public LingvisticsResult ProcessText(string text,
                                      bool afterSpellChecking,
                                      DateTime baseDate,
                                      LingvisticsResultOptions options = LingvisticsResultOptions.All,
                                      SelectEntitiesMode mode          = SelectEntitiesMode.Full,
                                      bool generateAllSubthemes        = false)
 {
     return(CallLinguisticFunction(f => f.ProcessText(text, afterSpellChecking, baseDate, options, mode, generateAllSubthemes)));
 }
Beispiel #2
0
        public LingvisticsResult ProcessText(string text,
                                             bool afterSpellChecking,
                                             DateTime baseDate,
                                             LingvisticsResultOptions options = LingvisticsResultOptions.All,
                                             SelectEntitiesMode mode          = SelectEntitiesMode.Full,
                                             bool generateAllSubthemes        = false)
        {
            var input = new LingvisticsTextInput()
            {
                Text = text,
                AfterSpellChecking = afterSpellChecking,
                BaseDate           = baseDate,
                Options            = options,
                Mode = mode,
                GenerateAllSubthemes = generateAllSubthemes,
#if WITH_OM_TM
                ObjectAllocateMethod = ObjectAllocateMethod.FirstEntityWithTypePronoun,
#endif
            };

            return(ProcessText(input));
        }