import os

VERBS_PATH = os.path.join(
        os.path.dirname(os.path.abspath(__file__)), 'verbs.txt'
    )

from pkg_resources import resource_filename

VERBS_PATH = resource_filename('uncertainty.lib.nlp', 'verbs.txt')

Use pkg_resources to resolve file paths
Use pkg_resources to resolve file paths

- import os
+ from pkg_resources import resource_filename
  
+ VERBS_PATH = resource_filename('uncertainty.lib.nlp', 'verbs.txt')
- VERBS_PATH = os.path.join(
-         os.path.dirname(os.path.abspath(__file__)), 'verbs.txt'
-     )
  
Use pkg_resources to resolve file paths
## Code Before:
import os

VERBS_PATH = os.path.join(
        os.path.dirname(os.path.abspath(__file__)), 'verbs.txt'
    )

## Instruction:
Use pkg_resources to resolve file paths
## Code After:
from pkg_resources import resource_filename

VERBS_PATH = resource_filename('uncertainty.lib.nlp', 'verbs.txt')
