lingscope.drivers
Class AnnotatedFilesMerger

java.lang.Object
  extended by lingscope.drivers.AnnotatedFilesMerger

public class AnnotatedFilesMerger
extends java.lang.Object

Merges two annotated files. Useful to merge a words scope file with a POS cue file


Constructor Summary
AnnotatedFilesMerger()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static AnnotatedSentence merge(AnnotatedSentence wordsSentence, AnnotatedSentence tagsSentence)
          Merges the given wordsSentence and the given tagsSentence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedFilesMerger

public AnnotatedFilesMerger()
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(java.lang.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