Lexicon-grammar tables constitute a large-coverage syntactic lexicon but they cannot be directly used in Natural Language Processing (NLP) applications because they sometimes rely on implicit information. In this paper, we introduce a generic tool for generating a syntactic lexicon for NLP from the lexicongrammar tables. It relies on a global table that contains undefined information and on a unique extraction script including all operations to be performed for all tables. We also show an experiment that has been conducted to generate a new lexicon of French verbs and nouns. Keywords : syntactic lexicon, NLP, lexicon-grammar table.