Exemple #1
0
        public AnalysisResults AnalyzeSyntax(string phrase, Languages language, MorphologyFlags morphFlags, SyntaxFlags syntaxFlags, int constraints)
        {
            var hPack = GrammarApi.sol_SyntaxAnalysis(_engine, phrase, morphFlags, syntaxFlags, constraints, (int)language);
            var res   = new AnalysisResults(this, hPack);

            return(res);
        }
Exemple #2
0
        public AnalysisResults AnalyzeMorphology(string phrase, Languages language, MorphologyFlags flags, int constraints)
        {
            var hPack = GrammarApi.sol_MorphologyAnalysis(_engine, phrase, flags, 0, constraints, (int)language);
            var res   = new AnalysisResults(this, hPack);

            return(res);
        }
 public static extern IntPtr sol_SyntaxAnalysis(
     IntPtr hEngine,
     string sentence,
     MorphologyFlags flags,
     SyntaxFlags unusedFlags,
     int constraints,
     int languageID
     );
 public static extern IntPtr /*IntPtr_RESPACK*/ sol_MorphologyAnalysis(
     IntPtr hEngine,
     string sentence,
     MorphologyFlags flags,
     SyntaxFlags unusedFlags,
     int constraints,
     int languageId
     );
 public static extern System.IntPtr sol_SyntaxAnalysis(
                                                       HGREN hEngine,
                                                       string sentence,
                                                       MorphologyFlags flags,
                                                       SyntaxFlags unusedFlags,
                                                       int constraints,
                                                       int languageID
                                                      );
 public static extern IntPtr /*HGREN_RESPACK*/ sol_MorphologyAnalysis(
                                                                      IntPtr hEngine,
                                                                      string sentence,
                                                                      MorphologyFlags flags,
                                                                      SyntaxFlags unusedFlags,
                                                                      int constraints,
                                                                      int languageId
                                                                     );
Exemple #7
0
 public AnalysisResults AnalyzeSyntax(string phrase, Languages language, MorphologyFlags morphFlags, SyntaxFlags syntaxFlags)
 {
     return(AnalyzeSyntax(phrase, language, morphFlags, syntaxFlags, 0));
 }
Exemple #8
0
 public AnalysisResults AnalyzeMorphology(string phrase, Languages language, MorphologyFlags flags)
 {
     return(AnalyzeMorphology(phrase, language, flags, 0));
 }