Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

The SPECIALIST Lexicon

Lexicon Terms and Statistics

I. Lexicon Terms

  • shell> ${LEXICON}/bin/7.GenerateLexiconTerms <year>

II. Lexicon Growth Stats

  • shell> ${LEXICON}/bin/8.GenerateStatistics <year>

III. Lexicon Words Stats

  • Update the Lexicon growth chart and word chart, see above section (II) for update

  • Single words and Multiwords stats:
    • shell> cd /{MULTIWORD_DIR}
    • shell> mkdir -p ./data/${YEAR}/inData
    • shell> cd ./data/${YEAR}/inData
    • shell> ln -sf ${LEXICON_DIR}/data/${YEAR}/tables/inflVars.data inflVars.data
    • shell> cd bin
    • shell> 1.GetElementWords ${YEAR}
      7

    • Update WordCount in lexiconGrowth.jpg (from PC, MS-Excel), please see detail in WebSite updates.
      • In PC, copy growth.${YEAR}.xls from previous year
      • Open and update growth.${YEAR}.xls
      • Update data from ${LMW}/data/${YEAR}/outData/1.ElementWord/LexStats.data
        • In Growth, WordCount Tabs, add ${YEAR} data/Year, then update the char
          • Move cursor to the chart
          • Right Click and select "Select Data..."
          • Update Chart data range (=Sheet1!$A$1:$C$24), click on Edit on each row to change the range on the last parameter or by selecting data range by cursor/shift/Ctrl (include columns A, I, J)

        • Edit Horizontal Axis (Year) Labels
          • Click "Year" on the dialog window
          • Click Eidt button (on the right side)
          • Select range: (=Sheet1!$A$2:$A$24), change the last parameter or by selecting year range by cursor/shift
        • Edit Legend color and show
          • Use + icon to show/hide legendo
          • Select legend -> Legend Option -> set position to bottom
          • Select color
        • Save the image
          • copy to PowerPoint
          • Save as jpg (${YEAR}WordStats)

            or

          • Use Snipping Tool, Snip, or Paint
          • Copy the chart from Excel and paste to Paint
          • Save as jpg (${YEAR}WordStats)
      • Update data from ${LEXICON}/data/${YEAR}/outputs/statistics.txt
        • In Pos Tab, add 5 column at the begining.
        • update POS, then update the char
        • Usually, only the top 4 POS changes (Noun, Adj, Verb, Adv)