d43fc73c5910f046ecd77f0f3f9fe88700d0ca01,textacy/constants.py,,,#,8
Before Change
import re
DEFAULT_DATA_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data")
NUMERIC_ENT_TYPES = {"ORDINAL", "CARDINAL", "MONEY", "QUANTITY", "PERCENT", "TIME", "DATE"}
SUBJ_DEPS = {"agent", "csubj", "csubjpass", "expl", "nsubj", "nsubjpass"}
OBJ_DEPS = {"attr", "dobj", "dative", "oprd"}
After Change
import re
DEFAULT_DATA_DIR = pathlib.Path(__file__).parent.resolve() / "data"
NUMERIC_ENT_TYPES = {"ORDINAL", "CARDINAL", "MONEY", "QUANTITY", "PERCENT", "TIME", "DATE"}
SUBJ_DEPS = {"agent", "csubj", "csubjpass", "expl", "nsubj", "nsubjpass"}
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: chartbeat-labs/textacy
Commit Name: d43fc73c5910f046ecd77f0f3f9fe88700d0ca01
Time: 2019-08-09
Author: burtdewilde@gmail.com
File Name: textacy/constants.py
Class Name:
Method Name:
Project Name: comic/grand-challenge.org
Commit Name: e5fd7c55fb9927ee91012a7998d3b9c7f6bee48d
Time: 2018-08-28
Author: jamesmeakin@gmail.com
File Name: app/tests/conftest.py
Class Name:
Method Name: submission_file
Project Name: virajmavani/semi-auto-image-annotation-tool
Commit Name: 2f76818d8381dfa09feabb867d652185431778f6
Time: 2020-03-31
Author: pramay.singhvi@gmail.com
File Name: main.py
Class Name:
Method Name: