Closed kdpsingh closed 4 years ago
Fixed in https://github.com/ML4LHS/clinspacy/commit/c3cd3a00d27ec9b9239b5df0421f8555d0039e09. Note that as pointed out in the README, the scispacy embeddings may be slightly different with use_linker set to TRUE because of duplicates. The advantage of the current approach is that you can limit by semantic_types but the cost is the slightly different embeddings. If we disable semantic_types in a future version, we may need to dynamically add and remove the linker step to ensure the same result.
This example in the README.Rmd is currently causing an error.
This example tries to obtain the scispacy embeddings when the linker is turned on (due to a change in default settings). When the linker is turned off, this seems to work fine.