object TextRepositorySource
Factory for TextRepository objects and
string representations of repositories in
.cex
format.
- Alphabetic
- By Inheritance
- TextRepositorySource
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cex(invFileName: String, configFileName: String, baseDirectoryName: String, delim1: String = "#", delim2: String = ","): Vector[OnlineDocument]
Create complete CEX representation of a text repository from local files.
Create complete CEX representation of a text repository from local files.
- invFileName
Name of file with basic inventory of texts and their citation schemes.
- configFileName
Name of file with details about location and format of files.
- baseDirectoryName
Name of root directory where local files are found.
-
def
cexForDocument(doc: OnlineDocument, outputDelim: String = "#"): String
Convert an online text documented by an OnlineDocument object to a two-column string.
Convert an online text documented by an OnlineDocument object to a two-column string.
- doc
Documentation of the text to convert.
- def cexForMarkdown(doc: OnlineDocument, invFile: String, confFile: String, outputDelim: String = "#"): String
-
def
cexForXml(doc: OnlineDocument, outputDelim: String = "#", encoding: String = "UTF-8"): String
Convert a single XML file documentd by an OnlineDocument object to a two-column string.
Convert a single XML file documentd by an OnlineDocument object to a two-column string.
- doc
Documentation of the text to convert.
- outputDelim
Delimiter to use in CEX output.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def corpusFromOnlineVector(onlineVect: Vector[OnlineDocument]): Corpus
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fromCexFile(cexFile: String, delimiter: String = "#", encoding: String = "UTF-8"): TextRepository
Create a TextRepository from a single file with CEX data.
Create a TextRepository from a single file with CEX data.
- cexFile
File with data in CEX format.
- delimiter
String value used to delimit columns of CEX data.
-
def
fromCexString(cexData: String, delimiter: String = "#"): TextRepository
Create a TextRepository from a single string of CEX data.
Create a TextRepository from a single string of CEX data.
- cexData
Data in CEX format.
- delimiter
String value used to delimit columns of CEX data.
-
def
fromFiles(catalogFileName: String, configFileName: String, baseDirectoryName: String, delimiter: String = "#", delimiter2: String = ",", encoding: String = "UTF-8"): TextRepository
Create a TextRepository from local files.
Create a TextRepository from local files.
- catalogFileName
Name of file with catalog of texts in CEX format.
- configFileName
Name of file with delimited-text data mapping cataloged texts to typed local files.
- baseDirectoryName
Base directory for local files. Paths in the configuration file are relative to this directory.
- delimiter2
Secondary delimiter for CEX structure.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
onlineVector(configFileName: String, baseDirectoryName: String, delimiter1: String = "#", delimiter2: String = ",", encoding: String = "UTF-8"): Vector[OnlineDocument]
Create a vector of OnlineDocuments from a cataloged set of files in a local file system.
Create a vector of OnlineDocuments from a cataloged set of files in a local file system.
- configFileName
Name of file with details about location and format of files.
- baseDirectoryName
Name of root directory where local files are found.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.