object MascSlab
- Alphabetic
- By Inheritance
- MascSlab
- 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
-
def
apply(textFileUrl: URL): StringSlab[Source]
Create a Slab from a MASC .txt file
Create a Slab from a MASC .txt file
- textFileUrl
The URL of the MASC .txt (plain text) file.
- returns
A Slab of the text, with the URL saved as a Source annotation.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
namedEntities[I <: Source with PartOfSpeech](slab: StringSlab[I]): Slab[String, Span, I with EntityMention]
Adds EntityMention annotations using the MASC -ne.xml file.
Adds EntityMention annotations using the MASC -ne.xml file.
Assumes there will be exactly one Source annotation, providing the URL of the MASC .txt file.
- slab
The Slab containing the text, the source URL and PartOfSpeech annotations.
- returns
The Slab with added EntityMention annotations as read from the MASC -ne.xml file.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
penn[I <: Source with Segment](slab: StringSlab[I]): Slab[String, Span, I with PartOfSpeech]
Adds Penn PartOfSpeech tags using the MASC -penn.xml file.
Adds Penn PartOfSpeech tags using the MASC -penn.xml file.
Assumes there will be exactly one Source annotation, providing the URL of the MASC .txt file.
- slab
The Slab containing the text, the source URL and the Segment annotations.
- returns
The Slab with added PartOfSpeech annotations as read from the MASC -penn.xml file.
-
def
s[I <: Source](slab: StringSlab[I]): Slab[String, Span, I with Sentence]
Add sentences to a MASC Slab using the MASC -s.xml file.
Add sentences to a MASC Slab using the MASC -s.xml file.
Assumes there will be exactly one Source annotation, providing the URL of the MASC .txt file.
- slab
The Slab containing the text and source URL
- returns
The Slab with added Sentence annotations as read from the MASC -s.xml file.
-
def
seg[I <: Source](slab: StringSlab[I]): Slab[String, Span, I with Segment]
Add segments to a MASC Slab using the MASC -seg.xml file.
Add segments to a MASC Slab using the MASC -seg.xml file.
Assumes there will be exactly one Source annotation, providing the URL of the MASC .txt file.
- slab
The Slab containing the text and source URL
- returns
The Slab with added Segment annotations as read from the MASC -seg.xml file.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )