class
Corpora extends AnyRef
Instance Constructors
-
new
Corpora(remoteURL: String)
-
new
Corpora(repositories: Seq[URL])
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
load[T](name: String): Corpus[T]
-
def
load[T](clss: Class[_ <: Corpus[T]]): Corpus[T]
-
def
locateCorpus[T](name: String): Corpus[T]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
repositories: Seq[URL]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Class to help load corpora. Each Corpus is represented by a class of type "Corpus" which knows how to load the data.
Corpora are located in one of two ways:
Files located in this way must be installed in: /path/to/repository/org/breeze/corpora/(corpus name in lower case)/(version)/(corpus-name)-(version).jar
The jar file itself must have a file named breeze-corpus.xml which has the format:
absolute classname
This class is then created and returned.