Object/Trait

com.johnsnowlabs.nlp.pretrained

ResourceDownloader

Related Docs: trait ResourceDownloader | package pretrained

Permalink

object ResourceDownloader

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceDownloader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def cacheFolder: String

    Permalink
  6. def clearCache(request: ResourceRequest): Unit

    Permalink
  7. def clearCache(name: String, language: Option[String] = None, folder: String = publicLoc): Unit

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def credentials: Option[AWSCredentials]

    Permalink
  10. var defaultDownloader: ResourceDownloader

    Permalink
  11. def downloadModel[TModel <: PipelineStage](reader: DefaultParamsReadable[TModel], request: ResourceRequest): TModel

    Permalink
  12. def downloadModel[TModel <: PipelineStage](reader: DefaultParamsReadable[TModel], name: String, language: Option[String] = None, folder: String = publicLoc): TModel

    Permalink
  13. def downloadPipeline(request: ResourceRequest): PipelineModel

    Permalink
  14. def downloadPipeline(name: String, language: Option[String] = None, folder: String = publicLoc): PipelineModel

    Permalink
  15. def downloadResource(request: ResourceRequest): String

    Permalink

    Loads resource to path

    Loads resource to path

    request

    Request for resource

    returns

    path of downloaded resource

  16. def downloadResource(name: String, language: Option[String] = None, folder: String = publicLoc): String

    Permalink

    Loads resource to path

    Loads resource to path

    name

    Name of Resource

    language

    Desired language of Resource

    folder

    Subfolder in s3 where to search model (e.g. medicine)

    returns

    path of downloaded resource

  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. val fs: FileSystem

    Permalink
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. lazy val libVersion: Version

    Permalink
  25. def listPretrainedResources(folder: String, resourceType: ResourceType, version: Version): List[String]

    Permalink
  26. def listPretrainedResources(folder: String, resourceType: ResourceType, lang: String, version: Version): List[String]

    Permalink
  27. def listPretrainedResources(folder: String, resourceType: ResourceType, lang: String): List[String]

    Permalink
  28. def listPretrainedResources(folder: String, resourceType: ResourceType): List[String]

    Permalink

    List all resources after parsing the metadata json from the given folder in the S3 location

    List all resources after parsing the metadata json from the given folder in the S3 location

    returns

    list of pipelines if resourceType is Pipeline or list of models if resourceType is Model

  29. def listPublicModels(): List[String]

    Permalink

    List all pretrained models in public name_lang

  30. def listPublicPipelines(): List[String]

    Permalink

    List all pretrained pipelines in public

  31. def listUnCategorizedResources(): List[String]

    Permalink

    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.

    returns

    list of models or piplelines which are not categorized in metadata json

  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. val publicLoc: String

    Permalink
  36. def resetResourceDownloader(): Unit

    Permalink

    Reset the cache and recreate ResourceDownloader S3 credentials

  37. def s3Bucket: String

    Permalink
  38. def s3Path: String

    Permalink
  39. def showPublicModels(lang: String, version: String): Unit

    Permalink
  40. def showPublicModels(lang: String): Unit

    Permalink
  41. def showPublicPipelines(lang: String, version: String): Unit

    Permalink
  42. def showPublicPipelines(lang: String): Unit

    Permalink
  43. def showString(list: List[String], resourceType: ResourceType): String

    Permalink
  44. def showUnCategorizedResources(lang: String, version: String): Unit

    Permalink
  45. def showUnCategorizedResources(lang: String): Unit

    Permalink
  46. lazy val sparkVersion: Version

    Permalink
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped