From 5717745cd20aa8dfb7a9109715b5844eee09edca Mon Sep 17 00:00:00 2001 From: "Esteban Prince, Liam (UG - Computer Science)" <le00210@surrey.ac.uk> Date: Mon, 4 May 2020 16:59:18 +0100 Subject: [PATCH] Update preprocessor.py --- preprocessor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/preprocessor.py b/preprocessor.py index f1a5e73..539a566 100644 --- a/preprocessor.py +++ b/preprocessor.py @@ -31,6 +31,12 @@ def disambiguateUnits(): def addMissingUnits(): pass +# Rather than using numbers, sometimes they're represented as special characters such as 1/2 +# Convert them to normal numbers +def specialChars(): + # eg \u00bd should become 1/2 + pass + # Check that everything in the database conforms to the schema def validateSchema(): # for each json file in database/ -- GitLab