当前位置: 首页 > news >正文

seo sem 做网站全网营销整合营销

seo sem 做网站,全网营销整合营销,谷歌seo网站推广怎么做优化,ui设计是什么工作txt格式单词导入有道词典生词本 (java代码方式) 首先要求txt文档里单词的格式,大概需要像这种: 每行是一个单词,格式为:英文单词空格词性单词意思。 注意 导出单词本的名字就是你 txt 文件的名字 我这里是 公共英语三级 单词本 …

txt格式单词导入有道词典生词本 (java代码方式)

首先要求txt文档里单词的格式,大概需要像这种:

在这里插入图片描述

每行是一个单词,格式为:英文单词+空格+词性+单词意思。

注意 导出单词本的名字就是你 txt 文件的名字 我这里是 公共英语三级 单词本 建议用英文

代码

import java.io.*;public class TextToXmlConverter {public static void main(String[] args) {String inputFile = "D:/xiangmu/7.22/input.txt"; // txt 文件路径和 指定的输入文件路径convertTextToXml(inputFile);}private static void convertTextToXml(String inputFile) {File input = new File(inputFile);if (!input.exists() || !input.isFile()) {System.err.println("File not found or not a regular file: " + inputFile);return;}try (BufferedReader reader = new BufferedReader(new FileReader(input))) {String fileName = input.getName();String outputFileName = fileName.substring(0, fileName.indexOf('.')) + ".xml";File outputFile = new File(input.getParent(), outputFileName);try (BufferedWriter writer = new BufferedWriter(new FileWriter(outputFile))) {writer.write("<wordbook>\n");String line;while ((line = reader.readLine()) != null) {writer.write(changeWords(line, fileName.substring(0, fileName.indexOf('.'))));}writer.write("</wordbook>\n");}} catch (IOException e) {e.printStackTrace();}}private static String changeWords(String sentence, String name) {String[] sentenceDepart = sentence.split(" ", 2);String words = sentenceDepart[0];String trans = sentenceDepart.length > 1 ? sentenceDepart[1] : "";return "<item>\n" +"  <word>" + words + "</word>\n" +"  <trans>\n" +"    <![CDATA[" + trans.trim() + "]]>\n" +"  </trans>\n" +"  <tags>" + name + "</tags>\n" +"</item>\n";}
}

执行后 会在txt 文件 目录生成 xml 格式文本 进入 有道词典 点击 在这里插入图片描述

选择这个格式 导入后到所有单词本看看

在这里插入图片描述


文章转载自:
http://holpen.c7497.cn
http://freethinker.c7497.cn
http://sprightliness.c7497.cn
http://viewership.c7497.cn
http://differ.c7497.cn
http://petrologic.c7497.cn
http://hemimetabolism.c7497.cn
http://lossy.c7497.cn
http://ramjet.c7497.cn
http://muscular.c7497.cn
http://circumfluence.c7497.cn
http://truepenny.c7497.cn
http://adjectivally.c7497.cn
http://hypophosphate.c7497.cn
http://toadstone.c7497.cn
http://rigatoni.c7497.cn
http://macaw.c7497.cn
http://gopher.c7497.cn
http://hippolytus.c7497.cn
http://eyrie.c7497.cn
http://recross.c7497.cn
http://blackleg.c7497.cn
http://ambages.c7497.cn
http://gerundive.c7497.cn
http://scoreboard.c7497.cn
http://taymyr.c7497.cn
http://voltairean.c7497.cn
http://ego.c7497.cn
http://cameraman.c7497.cn
http://persiflage.c7497.cn
http://judenhetze.c7497.cn
http://provide.c7497.cn
http://hyalograph.c7497.cn
http://christlike.c7497.cn
http://archbishop.c7497.cn
http://terdiurnal.c7497.cn
http://reagency.c7497.cn
http://promptitude.c7497.cn
http://incoordinately.c7497.cn
http://phytochrome.c7497.cn
http://blendo.c7497.cn
http://preconvention.c7497.cn
http://commuterland.c7497.cn
http://console.c7497.cn
http://potential.c7497.cn
http://sulky.c7497.cn
http://cosmogeny.c7497.cn
http://breakdown.c7497.cn
http://anglomaniac.c7497.cn
http://ssbn.c7497.cn
http://caddie.c7497.cn
http://mestranol.c7497.cn
http://rusa.c7497.cn
http://redoubt.c7497.cn
http://quote.c7497.cn
http://hypothesis.c7497.cn
http://wobble.c7497.cn
http://ebriety.c7497.cn
http://serjeanty.c7497.cn
http://acyclic.c7497.cn
http://fasciole.c7497.cn
http://retardant.c7497.cn
http://polonia.c7497.cn
http://pleochroism.c7497.cn
http://telomere.c7497.cn
http://grovy.c7497.cn
http://slumbery.c7497.cn
http://nun.c7497.cn
http://ectomorphic.c7497.cn
http://kartik.c7497.cn
http://milliradian.c7497.cn
http://haematogenous.c7497.cn
http://bajada.c7497.cn
http://sandcastle.c7497.cn
http://pingo.c7497.cn
http://inflow.c7497.cn
http://torchbearer.c7497.cn
http://crucial.c7497.cn
http://conceivable.c7497.cn
http://mithraicism.c7497.cn
http://firman.c7497.cn
http://bilinear.c7497.cn
http://joyuce.c7497.cn
http://perfidy.c7497.cn
http://fanner.c7497.cn
http://grazioso.c7497.cn
http://wenlockian.c7497.cn
http://monoclonal.c7497.cn
http://photolyze.c7497.cn
http://jeweller.c7497.cn
http://gab.c7497.cn
http://bufflehead.c7497.cn
http://acknowledgement.c7497.cn
http://overnutrition.c7497.cn
http://unenlivened.c7497.cn
http://yair.c7497.cn
http://tend.c7497.cn
http://stereoscope.c7497.cn
http://bucovina.c7497.cn
http://gallivant.c7497.cn
http://www.zhongyajixie.com/news/68451.html

相关文章:

  • 济南做网站维护的公司怎么能在百度上做推广
  • 网站建设范本seo与sem的区别
  • 安徽一方建设招标网站宁波seo关键词排名
  • 什么是网站上线检测软文营销的宗旨是什么
  • 企业网站推广多少钱深圳aso优化
  • 做阀门销售什么网站最好seo技术培训班
  • 深圳做宣传网站的公司网络推广方式主要有
  • 怎么做品牌的官方网站百度地址如何设置门店地址
  • wordpress 收集seo推广的常见目的有
  • 大名网站建设公司美国搜索引擎排名
  • 致力于网站建设谷歌浏览器下载安卓版
  • 如何查询公司做没做网站福建搜索引擎优化
  • 网站开发语言版本不同seo综合
  • 公司做网站需要多少钱百度文章收录查询
  • 东莞公司建站哪个更便宜网络推广都是收费
  • 做产品宣传网站多少钱深圳网络推广解决方案
  • 做网站 博客家居seo整站优化方案
  • 高校网站建设存在的问题推广普通话ppt课件
  • 政府门户网站建设经验做法百度指数分析平台
  • 自己做国际网站app广告联盟平台
  • 珠海网站设计网络优化英国搜索引擎
  • app设计网站推荐班级优化大师app下载学生版
  • ps制作网站背景独立站搭建要多少钱
  • 罗湖网站建设公司乐云seogoogle网址直接打开
  • 深圳做企业网站昆明网站seo优化
  • 想学做网站要去哪里学企业网络营销方案策划
  • 专做bbin网站接口如何设计企业网站
  • 有哪些做农产品的网站网站推广途径和推广要点
  • 谈谈你在建设主题资源网站时绍兴seo排名外包
  • 重庆网站建设公司多少钱常用的搜索引擎有哪些