lib/core.js
function normalize(result) {
  return {
    relevance: result.relevance || 0,
    language: result.language || null,
    value: result.value || []
  }
}
function normalize(result) {
  return {
    relevance: result.relevance || 0,
    language: result.language || null,
    value: result.value || []
  }
}
function normalize ( result ) { return { relevance : result . relevance || 0 , language : result . language || null , value : result . value || [ ] } }
Normalize a syntax result.
Normalize a syntax result .