Package lingscope.drivers
Class AnnotatedFilesMerger
- java.lang.Object
-
- lingscope.drivers.AnnotatedFilesMerger
-
public class AnnotatedFilesMerger extends Object
Merges two annotated files. Useful to merge a words scope file with a POS cue file- Author:
- shashank
-
-
Constructor Summary
Constructors Constructor Description AnnotatedFilesMerger()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)static AnnotatedSentencemerge(AnnotatedSentence wordsSentence, AnnotatedSentence tagsSentence)Merges the given wordsSentence and the given tagsSentence
-
-
-
Method Detail
-
merge
public static AnnotatedSentence merge(AnnotatedSentence wordsSentence, AnnotatedSentence tagsSentence)
Merges the given wordsSentence and the given tagsSentence- Parameters:
wordsSentence-tagsSentence-- Returns:
-
main
public static void main(String[] args)
- Parameters:
args- 0 - file 1: the file from which words will be taken 1 - file 2: the file from which tags will be taken 2 - output file path
-
-