com.johnsnowlabs.nlp.pretrained
Loads resource to path
Loads resource to path
Request for resource
path of downloaded resource
Loads resource to path
Loads resource to path
Name of Resource
Desired language of Resource
Subfolder in s3 where to search model (e.g. medicine)
path of downloaded resource
Lists pretrained resource from metadata.json, depending on the set filters.
Lists pretrained resource from metadata.json, depending on the set filters. The folder in the S3 location and the resourceType is necessary. The other filters are optional and will be ignored if not set.
Folder in the S3 location
Type of the Resource. Can Either ResourceType.MODEL
, ResourceType.PIPELINE
or
ResourceType.NOT_DEFINED
Name of the model class
Language of the model
Version that the model should be compatible with
A list of the available resources
List all pretrained models in public name_lang
List all pretrained pipelines in public
Returns models or pipelines in metadata json which has not been categorized yet.
Returns models or pipelines in metadata json which has not been categorized yet.
list of models or pipelines which are not categorized in metadata json
Reset the cache and recreate ResourceDownloader S3 credentials
Prints all pretrained models for a particular annotator, that are compatible with a version of Spark NLP.
Prints all pretrained models for a particular annotator, that are compatible with a version of Spark NLP.
Name of the model class, for example "NerDLModel"
Language of the pretrained models to display, for example "en"
Version of Spark NLP that the model should be compatible with, for example "3.2.3"
Prints all pretrained models for a particular annotator model, that are compatible with this version of Spark NLP.
Prints all pretrained models for a particular annotator model, that are compatible with this version of Spark NLP.
Name of the annotator class
Language of the pretrained models to display
Prints all pretrained models for a particular annotator model, that are compatible with this version of Spark NLP.
Prints all pretrained models for a particular annotator model, that are compatible with this version of Spark NLP.
Name of the annotator class
Prints all pretrained models for a particular annotator model, that are compatible with a version of Spark NLP.
Prints all pretrained models for a particular annotator model, that are compatible with a version of Spark NLP. If any of the optional arguments are not set, the filter is not considered.
Name of the model class, for example "NerDLModel"
Language of the pretrained models to display, for example "en"
Version of Spark NLP that the model should be compatible with, for example "3.2.3"
Prints all Pipelines available for a language and a version of Spark NLP.
Prints all Pipelines available for a language and a version of Spark NLP.
Language of the Pipeline
Version of Spark NLP
Prints all Pipelines available for a language and this version of Spark NLP.
Prints all Pipelines available for a language and this version of Spark NLP.
Language of the Pipeline
Prints all Pipelines available for a language and a version of Spark NLP.
Prints all Pipelines available for a language and a version of Spark NLP. By default shows all languages and uses the current version of Spark NLP.
Language of the Pipeline
Version of Spark NLP