edu.stanford.nlp.parser.lexparser
Class ArabicTreebankParserParams.ArabicRomanizedTextEscaper

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams.ArabicRomanizedTextEscaper
All Implemented Interfaces:
Function<java.util.List<HasWord>,java.util.List<HasWord>>, java.io.Serializable
Enclosing class:
ArabicTreebankParserParams

public static class ArabicTreebankParserParams.ArabicRomanizedTextEscaper
extends java.lang.Object
implements Function<java.util.List<HasWord>,java.util.List<HasWord>>

This escaper just changes ( to -LRB- and ) to -RRB-, does nothing else.

See Also:
Serialized Form

Constructor Summary
ArabicTreebankParserParams.ArabicRomanizedTextEscaper()
           
 
Method Summary
 java.util.List<HasWord> apply(java.util.List<HasWord> hasWords)
          Converts a T1 to a different T2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArabicTreebankParserParams.ArabicRomanizedTextEscaper

public ArabicTreebankParserParams.ArabicRomanizedTextEscaper()
Method Detail

apply

public java.util.List<HasWord> apply(java.util.List<HasWord> hasWords)
Description copied from interface: Function
Converts a T1 to a different T2. For example, a Parser will convert a Sentence to a Tree. A Tagger will convert a Sentence to a TaggedSentence.

Specified by:
apply in interface Function<java.util.List<HasWord>,java.util.List<HasWord>>