generateshortbnc.ctxt

来自「一个关于CHATBOT的程序(人式智能方面)」· CTXT 代码 · 共 12 行

CTXT
12
字号
#BlueJ class context
comment0.target=void\ readinBNC()
comment0.text=Open\ the\ bnc\ word\ frequencies\ file.\ The\ file\ is\ formatted\ as\ lines\ of\:\n1\:\ frequency\n2\:\ word\n3\:\ pos\n4\:\ number\ of\ files\ the\ word\ occurs\ in\nOnly\ the\ word\ and\ frequency\ are\ required\ here\n\n
comment1.target=void\ writeBNC()
comment1.text=\nThis\ writes\ out\ the\ BNC\ words\ as\ serialised\ objects\n\n
comment2.params=args
comment2.target=void\ main([)
comment2.text=\nReads\ in\ the\ text\ file\ containing\ the\ BNC\ information,\ filters\ out\ninfrequent\ words\ and\ then\ writes\ out\ a\ map\ containing\ BNC\ words.\n\n@param\ args\ No\ arguments\ needed\n\n
comment3.target=GenerateShortBNC()
comment3.text=\nConstructs\ a\ new\ GenerateShortBNC\ object\ and\ initialises\ the\ data\nstructure\n\n
numComments=4

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?