simple rule based
This commit is contained in:
parent
73b72d2df3
commit
6d42bd9ed7
5272
dev-0/out.tsv
Normal file
5272
dev-0/out.tsv
Normal file
File diff suppressed because it is too large
Load Diff
10
program.py
Executable file
10
program.py
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
import sys
|
||||||
|
import re
|
||||||
|
|
||||||
|
for line in sys.stdin:
|
||||||
|
if re.search(r'UFO|ufo|paranormal|ghost|alien|aliens|evidence|witness', line):
|
||||||
|
print("P")
|
||||||
|
else:
|
||||||
|
print("S")
|
5152
test-A/out.tsv
Normal file
5152
test-A/out.tsv
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user