# Txt 如何转HTML格式

**URL:** <https://forum.freemdict.com/t/topic/27778>\
**Category:** 技术交流与词典编修\
**Tags:** 技术, 求助\
**Created:** [2024 年4 月 1 日 10:55 UTC](https://forum.freemdict.com/t/topic/27778 "2024-04-01T10:55:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

作者： ![jax](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jax](https://forum.freemdict.com/u/jax)\
发布日期： [2024 年4 月 1 日 10:55 UTC](https://forum.freemdict.com/t/topic/27778/1 "2024-04-01T10:55:55Z")

</div>

请问下大佬们. 有没有什么txt转HTML工具. 最好标签丰富点，智能点.

把PDF文档 ORC后. 你们是怎么转HTML格式的啊。 并且是怎么添加各种丰富的标签的？

难道纯手动？

---

<div class="post-metadata">

作者： ![last\_idol](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/last_idol/32/2205_2.png) [@last\_idol](https://forum.freemdict.com/u/last_idol)\
发布日期： [2024 年4 月 1 日 11:12 UTC](https://forum.freemdict.com/t/topic/27778/2 "2024-04-01T11:12:48Z")

</div>

PDF 文档用 ABBYY FineReader 转 HTML。

---

<div class="post-metadata">

作者： ![jax](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jax](https://forum.freemdict.com/u/jax)\
发布日期： [2024 年4 月 1 日 11:19 UTC](https://forum.freemdict.com/t/topic/27778/3 "2024-04-01T11:19:04Z")

</div>

> [@last\_idol](#):
>
> F 文档用 ABBYY FineReader 转 HTML

ABBY 不知道是不是我设置的问题. ORC的质量非常差。差到完全不能用的地步。  
我用的是夸克扫描王. 质量非常高，但是只能导出word格式.

其次ABBY 转HTML格式。 标签基本就是每一行就是一个P标签。 不是很满意。

---

<div class="post-metadata">

作者： ![amob](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/amob/32/14630_2.png) [@amob](https://forum.freemdict.com/u/amob)\
发布日期： [2024 年4 月 1 日 11:20 UTC](https://forum.freemdict.com/t/topic/27778/4 "2024-04-01T11:20:07Z")

</div>

赞同，转成html没法看的，手动加。

---

<div class="post-metadata">

作者： ![jax](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jax](https://forum.freemdict.com/u/jax)\
发布日期： [2024 年4 月 1 日 11:25 UTC](https://forum.freemdict.com/t/topic/27778/5 "2024-04-01T11:25:16Z")

</div>

夸克转word格式. 然后用word文档的 单词纠错功能. 进行校正. 最后就是复制粘贴到txt. 然后利用emeditor去手动制作成MDX 。我目前是这么做的，工作量巨大。

想着有没有什么智能添加标签的工具，省点工作。

---

<div class="post-metadata">

作者： ![last\_idol](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/last_idol/32/2205_2.png) [@last\_idol](https://forum.freemdict.com/u/last_idol)\
发布日期： [2024 年4 月 1 日 11:26 UTC](https://forum.freemdict.com/t/topic/27778/6 "2024-04-01T11:26:40Z")

</div>

不知道，我参与做的都是 FineReader 转的，因为需要校对，用 FineReader 是最好的选择，没接触过别的。OCR 质量差，可以考虑重新扫下。

---

<div class="post-metadata">

作者： ![shaoshi](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/shaoshi/32/14529_2.png) [@shaoshi](https://forum.freemdict.com/u/shaoshi)\
发布日期： [2024 年4 月 1 日 11:43 UTC](https://forum.freemdict.com/t/topic/27778/7 "2024-04-01T11:43:13Z")

</div>

图像假如无法重新扫描，可以考虑先用老马的comicviewenhancer先处理一下，有时处理后效果会有天渊之别。

假如想用finereader存为html，在ocr前要先把结果设置为格式化文本。

---

<div class="post-metadata">

作者： ![jax](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/j/bbe5ce/32.png) [@jax](https://forum.freemdict.com/u/jax)\
发布日期： [2024 年4 月 1 日 11:45 UTC](https://forum.freemdict.com/t/topic/27778/8 "2024-04-01T11:45:30Z")

</div>

目前工作量大的是添加HTML标签。 想着有没有什么智能点的工具。 ABBY就是无脑每行就是一个P标签。 不是很满意

---

<div class="post-metadata">

作者： ![shaoshi](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/shaoshi/32/14529_2.png) [@shaoshi](https://forum.freemdict.com/u/shaoshi)\
发布日期： [2024 年4 月 1 日 11:51 UTC](https://forum.freemdict.com/t/topic/27778/9 "2024-04-01T11:51:14Z")

</div>

> [@jax](#):
>
> ABBY就是无脑每行就是一个P标签

不一定如此。可能你的图像太差，也可能设置不对。

但是你既然觉得别的软件用了顺手，就用别的软件吧。这个得自己多实践体会。

假如我没记错，jcz777兄用finereader，可以识别出词头的黑体，存为html，黑体的标签出来了，就可以处理词头。

@jcz777  
是这样吗？

---

<div class="post-metadata">

作者： ![jcz777](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/jcz777/32/60576_2.png) [@jcz777](https://forum.freemdict.com/u/jcz777)\
发布日期： [2024 年4 月 1 日 12:20 UTC](https://forum.freemdict.com/t/topic/27778/10 "2024-04-01T12:20:54Z")

</div>

匹配上可以，但实际上效果比较差，会在大量错误匹配。如果页数不算多的话，可以手动处理一下，统一一下字体格式。有统一的字体格式，就很容易正确匹配。

---

<div class="post-metadata">

作者： ![clavin](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/clavin/32/57300_2.png) [@clavin](https://forum.freemdict.com/u/clavin)\
发布日期： [2024 年4 月 2 日 03:04 UTC](https://forum.freemdict.com/t/topic/27778/11 "2024-04-02T03:04:53Z")

</div>

Word排版后直接转html
