Commit 156959e3 authored by sim's avatar sim

[FIX] Pylint constants

parent 4d63b77d
...@@ -271,7 +271,7 @@ RESOURCETYPES = [ ...@@ -271,7 +271,7 @@ RESOURCETYPES = [
}, },
{ "type": 12, { "type": 12,
"name": 'ISIDORE [SPARQLE API /!\ BETA]', "name": r'ISIDORE [SPARQLE API /!\ BETA]',
"parser": "IsidoreParser", "parser": "IsidoreParser",
"format": 'JSON', "format": 'JSON',
'file_formats':["zip","json"], 'file_formats':["zip","json"],
...@@ -384,9 +384,9 @@ DEFAULT_INDEX_FIELDS = ('abstract','title' ) ...@@ -384,9 +384,9 @@ DEFAULT_INDEX_FIELDS = ('abstract','title' )
# Grammar rules for chunking # Grammar rules for chunking
RULE_JJNN = "{<JJ.*>*<NN.*|>+<JJ.*>*}" RULE_JJNN = "{<JJ.*>*<NN.*|>+<JJ.*>*}"
RULE_JJDTNN = "{<JJ.*>*<NN.*>+((<P|IN> <DT>? <JJ.*>* <NN.*>+ <JJ.*>*)|(<JJ.*>))*}" RULE_JJDTNN = "{<JJ.*>*<NN.*>+((<P|IN> <DT>? <JJ.*>* <NN.*>+ <JJ.*>*)|(<JJ.*>))*}"
RULE_TINA = "^((VBD,|VBG,|VBN,|CD.?,|JJ.?,|\?,){0,2}?(N.?.?,|\?,)+?(CD.,)??)\ RULE_TINA = "^((VBD,|VBG,|VBN,|CD.?,|JJ.?,|\?,){0,2}?(N.?.?,|\?,)+?(CD.,)??)" \
+?((PREP.?|DET.?,|IN.?,|CC.?,|\?,)((VBD,|VBG,|VBN,|CD.?,|JJ.?,|\?\ "+?((PREP.?|DET.?,|IN.?,|CC.?,|\?,)((VBD,|VBG,|VBN,|CD.?,|JJ.?,|\?" \
,){0,2}?(N.?.?,|\?,)+?)+?)*?$" ",){0,2}?(N.?.?,|\?,)+?)+?)*?$"
# ngram lists import/export parameters ----------------------------------------- # ngram lists import/export parameters -----------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment