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

跑纸活做网站阳江最新通知今天

跑纸活做网站,阳江最新通知今天,一些简单的编程代码,晋江论坛兔区网友留言区java分析公司名称#xff1a;AI智能工具助力提取地名、品牌名、行业名 一、java智能提取地名 /*** 通过“武汉”补全省市区* throws Exception*/public void getPlace4() throws Exception{String r1 武汉;String fileName2 D:\\Personal\\Desktop\\txt…java分析公司名称AI智能工具助力提取地名、品牌名、行业名 一、java智能提取地名 /*** 通过“武汉”补全省市区* throws Exception*/public void getPlace4() throws Exception{String r1 武汉;String fileName2 D:\\Personal\\Desktop\\txt\\pca2.txt;String f1 fileUtil.readFile(fileName2);String f2[] f1.split(\r\n);String res3 ;for (String s3: f2) {if (s3.contains(r1)) {System.out.println(s3.replaceAll(,,));break;}}}/*** 获取省市区文件*/public void getPlace3() throws Exception{String fileName1 D:\\Personal\\Desktop\\txt\\pca.txt;String fileName2 D:\\Personal\\Desktop\\txt\\pca2.txt;String f1 fileUtil.readFile(fileName1);String f2[] f1.split(\r\n);String res3 ;for (String s3: f2) {if (!s3.equals()) {String s5[] s3.split(,);if(s5.length 6){res3s5[1],s5[2],s5[3]\r\n;}}}fileUtil.writeTxtFile(fileName2, res3);}/*** 通过place1地区文件提取*/public void getPlace2(){String res 武汉海明智业电子商务有限公司;String fileName1 D:\\Personal\\Desktop\\txt\\place1.txt;String f1 fileUtil.readFile(fileName1);String f2[] f1.split(\r\n);for (String s3: f2) {if (!s3.equals()) {if (res.contains(s3)) {System.out.println(s3);break;}}}}/*** 通过nlp地区提取*/public void getPlace1(){String res 武汉海明智业电子商务有限公司;String[] testCase new String[]{res};//地名place、品牌名(brand)、行业词(trade)//{place: 昆明, brand: 享亚, trade: 教育信息咨询, suffix: 有限公司, symbol: }ListString list new ArrayList();Segment segment HanLP.newSegment().enablePlaceRecognize(true);for (String sentence : testCase) {ListTerm termList segment.seg(sentence);for (Term term : termList) {if(term.nature.toString().equals(ns)){list.add(term.word);}}}for (String str: list){System.out.println(str);}}二、java智能提取品牌名 String res 武汉海明智业电子商务有限公司;String[] testCase new String[]{res};Segment segment HanLP.newSegment().enablePlaceRecognize(true);String res2 ;for (String sentence : testCase) {ListTerm termList segment.seg(sentence); // System.out.println(termList);for (Term term : termList) {if(!term.nature.toString().equals(ns) ){if(!term.nature.toString().equals(n) !term.word.toString().equals(分)){res2term.word;}}}}System.out.println(res2);三、java智能提取行业名 public static void main(String[] args) throws Exception {String sentence 常州途畅互联网科技有限公司合肥分公司;Segment segment HanLP.newSegment();ListTerm termList segment.seg(sentence);String fileName1 D:\\Personal\\Desktop\\txt\\trade.txt;String f1 fileUtil.readFile(fileName1);String f2[] f1.split(\r\n);String res3 ;for (Term term : termList) {for (String s3: f2) {String res term.word;if (!s3.equals()) {if (res.contains(s3)) {res3 s3;}}}}System.out.println(res3);}public void get1(){String res 昆明享亚教育信息咨询有限公司;String fileName1 D:\\Personal\\Desktop\\txt\\trade.txt;String f1 fileUtil.readFile(fileName1);String f2[] f1.split(\r\n);String res3 ;for (String s3: f2) {if (!s3.equals()) {if (res.contains(s3)) {res3s3;}}}System.out.println(res3);}
http://www.w-s-a.com/news/284313/

相关文章:

  • 广告网站建设最专业东莞大朗网站设计
  • 网站做流量的论坛贴吧分销商城系统源码
  • 新手建立网站的步骤网站建设费怎么入分录
  • 哪里建网站性价比高做网站赚取广告费
  • 邢台集团网站建设价格微信怎么做捐钱的网站
  • 做网站费用需要分摊吗装修公司一般多少钱一平方
  • 公司主页的网站格式wordpress自动推送给百度
  • 网站建设辶金手指排名十二wordpress 当数据库
  • 无锡手机网站建设服务苏州展厅设计企业
  • 无锡网站制作需要多少钱北京二次感染最新消息
  • 网站开发视频播放无画面杭州房产信息网官网
  • 网站开发 改进如何创建公众号平台
  • wordpress网站响应很慢只有asp网站代码可以重新编译吗
  • 哪个网站教做饭做的好wordpress热点文章
  • 可以做推广东西的网站重庆网站建设 重庆网站制作
  • 珠海网站建设培训学校wordpress去版权 合法
  • 建设食品商购网站学校网站设计实验报告
  • 建个网站多少钱沭阳奥体小区做网站的
  • 广州视频网站建站公司php网页设计作业代码
  • 成都公司网站设计如何制作网址最简单的方法
  • 温州 做网站福建住房城乡建设部网站
  • 网站自动化采集成都网站设计费用
  • 广东专业网站定制建设淘宝网站的人员组织结构
  • 网站改版seo无锡有多少家公司
  • h5美食制作网站模板下载wordpress大学百度云
  • 零陵做网站建立网站的公司平台
  • 某企业电子商务网站建设网站开发实验结论
  • 自己做的网站突然打不开杭州哪些做网站公司好
  • 株洲专业建设网站免费cms内容管理系统
  • 网上建立网站赚钱网站建设方案书纯文字