Comments (2)
You can just use a simple post-processing to convert the output to a more readable format:
sed -e 's/ ,COMMA/\,/g;s/ .PERIOD/\./g;s/ ?QUESTIONMARK/\?/g;s/ !EXCLAMATIONMARK/\!/g;s/ :COLON/\:/g;s/ ;SEMICOLON/\;/g;s/ -DASH/ \-/g' text.txt > text.clean.txt
where text.txt is the raw output with .PERIOD etc. and text.clean.txt is the clean output.
from punctuator2.
Ok yes this makes sense. Once I have the punctuation in place it's easy to convert, thanks for your help!
from punctuator2.
Related Issues (20)
- Which one is your best model? HOT 2
- capitals after an apastrophe HOT 1
- Site is down HOT 1
- T-BRNN-pre model error during prediction
- problem with punctuator HOT 2
- Issues while executing play_with_model.py
- English Europarl dataset HOT 1
- Import problem with Python 3.7 HOT 1
- What's wrong with theano package? HOT 3
- Adding punctuator for long text HOT 1
- The following error happened while compiling the node, forall_inplace,cpu,scan_fn
- No punctuation in result - Train more lines or preprocess data.dev.txt? HOT 2
- Is there any chance that demo server will be up again? HOT 2
- Finally something that works. How can I install and use this? thank you HOT 1
- What versions do we need exactly to run this project? HOT 1
- Export model to be Used in C++
- Multiple Speakers? HOT 1
- Model files not found HOT 1
- Streaming recognition punctuation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from punctuator2.