コード例 #1
0
ファイル: linkgrammar.py プロジェクト: virneo/link-grammar
 def max_null_count(self):
     """
      The maximum number of null links that a parse might have. A call to
      sentence_parse will find all linkages having the minimum number of
      null links within the range specified by this parameter.
     """
     return clg.parse_options_get_max_null_count(self._obj)
コード例 #2
0
 def max_null_count(self):
     """
      The maximum number of null links that a parse might have. A call to
      sentence_parse will find all linkages having the minimum number of
      null links within the range specified by this parameter.
     """
     return clg.parse_options_get_max_null_count(self._obj)
コード例 #3
0
ファイル: clinkgrammar.py プロジェクト: ggosline/taxonparser
def parse_options_get_max_null_count(*args) -> "int" :
  return _clinkgrammar.parse_options_get_max_null_count(*args)
コード例 #4
0
def parse_options_get_max_null_count(*args):
  return _clinkgrammar.parse_options_get_max_null_count(*args)
コード例 #5
0
 def fget(self):
     return clg.parse_options_get_max_null_count(self._po)
コード例 #6
0
ファイル: linkgrammar.py プロジェクト: lagleki/jorne
 def fget(self):
     return clg.parse_options_get_max_null_count(self._po)
コード例 #7
0
ファイル: clinkgrammar.py プロジェクト: raschild6/relex
def parse_options_get_max_null_count(opts: 'Parse_Options') -> "int":
    return _clinkgrammar.parse_options_get_max_null_count(opts)
コード例 #8
0
 def test_setting_max_null_count(self):
     po = ParseOptions()
     po.max_null_count = 3
     self.assertEqual(clg.parse_options_get_max_null_count(po._po), 3)
コード例 #9
0
ファイル: tests.py プロジェクト: ggosline/taxonparser
 def test_setting_max_null_count(self):
     po = ParseOptions()
     po.max_null_count = 3
     self.assertEqual(clg.parse_options_get_max_null_count(po._po), 3)