Class DetectLanguage

java.lang.Object
com.google.refine.expr.functions.strings.DetectLanguage
All Implemented Interfaces:
Function

public class DetectLanguage extends Object implements Function
  • Constructor Details

    • DetectLanguage

      public DetectLanguage()
  • Method Details

    • call

      public Object call(Properties bindings, Object[] args)
      Detects the language of the given string and provides the language code.
      Specified by:
      call in interface Function
      Parameters:
      bindings - bindings
      args - arguments
      Returns:
      the language code of the string
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface Function
    • getParams

      public String getParams()
      Specified by:
      getParams in interface Function
    • getReturns

      public String getReturns()
      Specified by:
      getReturns in interface Function