class Rouge::Lexers::Turtle
def self.analyze_text(text)
def self.analyze_text(text) start = text[0..1000] return 0.5 if start =~ %r(@prefix\b) return 0.5 if start =~ %r(@base\b) return 0.4 if start =~ %r(PREFIX\b)i return 0.4 if start =~ %r(BASE\b)i end