搜索资源列表
zl1
- 用户在文本框输入圆的半径,然后随机产生一个坐标位置,在屏幕上画圆,通过其他组件(如:JTextArea)输出圆的直径、周长和面积。另外提供一个按钮,可以清除屏幕,重新画圆。 -Users in the text box input round radius, then randomly generated a coordinate location, on the screen to draw circles, through other components (e.g. JTextArea
a
- 读取文本文件的数据并输出,非常有用啊,涉及到-Read text file data and the output is very useful for ah, involving
java2
- B01是一个从标签中输入字符或文本,回车后,从文本框中输出完全一样的字符或文本;Homework10_3是一个能做加减乘除的界面运算器-B01 is a character from the label or text input, Enter, the output from the text box exactly the same character or text Homework10_3 is an interface that can do addition, subtractio
Exe10_7
- 通过RandomAccessFile类实现将一个文本文件的内容倒序输出-By RandomAccessFile class implements the contents of a text file output reverse
WriteDemo
- 从键盘输入一首诗,把它写入到文本文件poem.txt中。以便初学者掌握熟悉java运行环境,编程掌握Java输入输出流和Swing组件的用法-A poem from the keyboard, put it in writing to a text file poem.txt. For beginners to master familiar with the java runtime environment, to master the Java programming input and o
CheckSpell
- 快速拼写检查程序用于用户输入文本,并在界面显示,同时可选择操作“选取字典”、“检查拼写”、“打开文本”、“输出文本”等功能实现。-Fast spelling checker for user to enter text, and the interface display, and choice of operating "Select Dictionary", "Check spelling", "open text", "output text" and other functions to
T5a3
- 利用Java的GUI编程,编写一个窗体,包含两个文本框和一个命令按钮。其中一个文本框接收用户输入的一行字符串,回车后在另一个文本框中重复输出三行,单击命令按钮可清空两个文本框的所有内容。-GUI programming using Java, write a form that contains two text boxes and a command button. One of the text box to receive user input string line, carriage
ch8ex7
- 利用文本编辑软件输入学生姓名,成绩,编程读取文件中的内容,计算每个同学的平均成绩,然后输出并保存成绩表。-Enter the text editing software to use student' s name, performance, programming, read the file contents, the average score calculated for each student, then the output and save the results tabl
JavaBean
- 生成一个javabean文件,并用log4j输出相应信息到文本-Generate a javabean file and log4j output with the appropriate information to the text
train4
- 给定一个非中文的文本文件以及一系列查询单词,请输出所查询单词的出现次数, 输入为当前目录下非中文的文本文件input.in,其格式如下: 第一行为一个非负整数 T ,表示需查询文本的行数,紧随其后是 T 行非中文文本,为查询单词所在的文本行。其后为一个数字 M ,表示查询单词的个数,随后有 M 行单个单词,为所查询的单词。输出到当前目录下的文件output.txt,对每一个查询单词,输出其在查询文本中出现的次数,若没有出现,则输出 0 。输出格式为: 查询单词 次数 -Given a n
StringWords
- 输入英文文本,输出文本中的单词按照首字母顺序排列的结果,并计算文本中的单词个数。-Input english text,the program will put out the words in alphabet sequence and count the total number of words that appear in the text.
CountOccurenceOfWords
- 对指定文本中的单词进行处理,输出文本中所有单词按照首字母顺序排列的结果,并对每个单词输出其出现的词频。-Output the words in a certain english text in alphabet sequence and count the frequency of each word.
Main2
- 对指定的文本文件进行处理,计算其中所有单词的词频,并按照词频高低依次输出。-For certain text file,count the frequency of each word and output the outcome in order of frequency in decrease order.
TestISROSW
- 用java把一个GBK编码的文本文件转换为UTF-8编码,输出文本,按行读取文本文件,控制台按行读入字符数据,下载文本数据-A GBK encoded text file using java, be converted to UTF-8 encoding, output text, read text file line by line, the console line read into the character data and download the text data
Student
- 1.People类,包括姓名,年龄两个属性,另包含一个方法String PrintInfo(),用来返回People的属性姓名和年龄。 2.设计People类的子类Student,继承People的两个属性,另包含属性学号sno,重写方法String PrintInfo(),该方法返回Student的三个属性。 3.设计People类的子类Teacher,继承People的两个属性,另包含属性工资salary,重写方法String PrintInfo(),该方法返回Teacher的三个属
parsebigxml
- JAVA语言xml数据文件解析(生产背景:采集购物网站数据xml解析后生成数据库脚本) 采用SAX方式解析超大xml数据文本,根据需要的业务逻辑控制程序解析输出-The JAVA language xml data analytic (production background: collecting shopping site data to generate a database scr ipt xml parsing) SAX parsing large xml data text f
wordcount
- 统计一个文本中单词出现的频率,统计好次数,在按排好的顺序输出-count the number of words appear in a file
HLSeg_JAVA_Example
- 中文分词 支持对输出颗粒的控制,可以输出普通颗粒与用于检索的小颗粒;同时输出词串所在句号、段号、词号、词性等信息。 关于分词输出颗粒,我们认为各种应用对分词要求的颗粒度是不同的. 比如自动分类、关键词抽取比搜索需要的分词颗粒度要大, 因为这样表示文本语义特征时效果会更好, 而检索有一个查全率的要求, 就需要把分词单位做的更为细致, 不然就会造成漏查。 海量系统现在提供了两种颗粒的规则, 其中, 默认的为大颗粒接口, 主要用于自动分类、信息挖潜、机器翻译、语音合成、人工智能等领域,
java_print
- 0/获取打印服务对象(寻找打印机) 1/继承Printable实现接口方法print,以便打印机进行打印 2/用Graphics2D直接输出、用TextLayout直接输出、用lineBreaker输出多行文本 -0/Get the print service objects (look for the printer) 1/Printable inherited interface method print, so the printer can print 2/using the
Document-analysis
- 文件分析 给定一个非中文的文本文件以及一系列查询单词,请输出所查询单词的出现次数, 输入: 非中文的文本文件,其格式如下: 第一行为一个非负整数 T ,表示需查询文本的行数,紧随其后是 T 行非中文文本,为查询单词所在的文本行。其后为一个数字 M ,表示查询单词的个数,随后有 M 行单个单词,为所查询的单词。 输出: 对每一个查询单词,输出其在查询文本中出现的次数,若没有出现,则输出 0 。输出格式为: 查询单词 次数。 -Document an