Class/Object

org.clulab.utils

ScienceUtils

Related Docs: object ScienceUtils | package utils

Permalink

class ScienceUtils extends AnyRef

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

Instance Constructors

  1. new ScienceUtils()

    Permalink

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. val accents: Set[Char]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  16. def removeBibRefs(text: String): String

    Permalink

    Replaces references to bibliographies in the given text string with white spaces.

    Replaces references to bibliographies in the given text string with white spaces. The number of characters is preserved.

    text

    The text to be processed

    returns

    The processed text

  17. def removeFigureAndTableReferences(origText: String): String

    Permalink

    Replaces figure and table references from a given string with white spaces.

    Replaces figure and table references from a given string with white spaces. The number of characters is preserved.

    origText

    The text to be processed

    returns

    The processed text

  18. def replaceUnicode(origText: String): String

    Permalink

    Replaces all Unicode characters (characters with codePoints >= 80) with either a substitute ASCII string from a known list of substitutions or simply a space.

    Replaces all Unicode characters (characters with codePoints >= 80) with either a substitute ASCII string from a known list of substitutions or simply a space. It leaves other characters alone (given certain assumptions about unicode).

  19. def replaceUnicodeWithAscii(origText: String, keepAccents: Boolean = false): String

    Permalink

    Replaces common Unicode characters with the corresponding ASCII string, e.g., ɷ is replaced with "omega"

    Replaces common Unicode characters with the corresponding ASCII string, e.g., ɷ is replaced with "omega"

    origText

    The text to be processed

    returns

    The processed text

  20. def replaceUnknownUnicodeWithSpaces(origText: String): String

    Permalink

    Replaces unknown Unicode characters with space characters.

    Replaces unknown Unicode characters with space characters. This uses the unicodes variable for the list of known substitutions. This method may be coupled with the above replaceUnicodeWithAscii() for text cleaning or one can do both with replaceUnicode() below.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. val unicodes: Map[Char, String]

    Permalink
  24. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped