Source: python-pynlpl
Version: 1.2.9-1
User: debian-pyt...@lists.debian.org
Usertags: syntaxwarning

Hi Maintainer

The SyntaxWarning below were emitted when this package was tested with
pipuarts[1].

Regards
Graham


[1] https://piuparts.debian.org/sid/source/p/python-pynlpl.html


  Setting up python3-pynlpl (1.2.9-1) ...
  /usr/lib/python3/dist-packages/pynlpl/formats/folia.py:511:
SyntaxWarning: invalid escape sequence '\s'
    """Normalize spaces, splits on whitespace (\n\r\t\s) and rejoins
(faster than a s/\s+// regexp)"""
  /usr/lib/python3/dist-packages/pynlpl/formats/sonar.py:93:
SyntaxWarning: invalid escape sequence '\w'
    doc_id, ptype, p, s, w =
re.findall('([\w\d-]+)\.(p|head)\.(\d+)\.s\.(\d+)\.w\.(\d+)',id)[0]
  /usr/lib/python3/dist-packages/pynlpl/formats/sonar.py:100:
SyntaxWarning: invalid escape sequence '\w'
    doc_id, s, w = re.findall('([\w\d-]+)\.s\.(\d+)\.w\.(\d+)',id)[0]
  /usr/lib/python3/dist-packages/pynlpl/formats/sonar.py:115:
SyntaxWarning: invalid escape sequence '\w'
    doc_id, ptype, p, s, w =
re.findall('([\w\d-]+)\.(p|head)\.(\d+)\.s\.(\d+)\.w\.(\d+)',id)[0]
  /usr/lib/python3/dist-packages/pynlpl/tests/fql.py:134:
SyntaxWarning: invalid escape sequence '\('
    Qcql_context = '"de" [ tag="ADJ\(.*" ] [ tag="N\(.*" & lemma!="blah" ]'
  /usr/lib/python3/dist-packages/pynlpl/tests/fql.py:135:
SyntaxWarning: invalid escape sequence '\('
    Qcql_context2 = '[ pos = "LID\(.*" ]? [ pos = "ADJ\(.*" ]* [ pos =
"N\(.*" ]'
  /usr/lib/python3/dist-packages/pynlpl/tests/fql.py:136:
SyntaxWarning: invalid escape sequence '\('
    Qcql_context3 = '[ pos = "N\(.*" ]{2}'
  /usr/lib/python3/dist-packages/pynlpl/tests/fql.py:137:
SyntaxWarning: invalid escape sequence '\('
    Qcql_context4 = '[ pos = "WW\(.*" ]+ [] [ pos = "WW\(.*" ]+'
  /usr/lib/python3/dist-packages/pynlpl/tests/fql.py:138:
SyntaxWarning: invalid escape sequence '\('
    Qcql_context5 = '[ pos = "VG\(.*" ] [ pos = "WW\(.*" ]* []?'
  /usr/lib/python3/dist-packages/pynlpl/tests/fql.py:139:
SyntaxWarning: invalid escape sequence '\('
    Qcql_context6 = '[ pos = "VG\(.*|VZ\.*" ]'

Reply via email to