R/RLongLexToF.R

Defines functions RLongLexToF

Documented in RLongLexToF

## call the main function in LongLexTo
# read the input from inputfilename and write the out to outputfilename

#default dictionary file is lexitron.txt
PATH2DICT<-paste0(system.file(package='RLongLexTo'),"/java/lexitron.txt")

RLongLexToF<-function(inputfilename,outputfilename,path.dict=NULL){
  if(is.null(path.dict)){
    J('LongLexTo','main', c(inputfilename,outputfilename,PATH2DICT))
  }
  else{
    J('LongLexTo','main', c(inputfilename,outputfilename,path.dict))
  }
}
slphyx/RLongLexTo documentation built on March 5, 2020, 4:21 a.m.