lib/langusta/detector_factory.rb
# Creates a new detector object, based on a preconfigured set of language profiles.
# @return [Detector]
Creates a new detector object, based on a preconfigured set of language profiles.
Creates a new detector object based on a preconfigured set of language profiles .
def create(alpha=nil)
      if alpha
        detector = create_detector()
        detector.alpha = alpha
        detector
      else
        create_detector()
      end
    end
def create ( alpha = nil ) if alpha detector = create_detector ( ) detector . alpha = alpha detector else create_detector ( ) end end
Creates a new detector object, based on a preconfigured set of language profiles.
Creates a new detector object based on a preconfigured set of language profiles .
None
Detector
alpha
<not_specific>