Comments (4)
Could you share the first few couple of lines from your input file?
from textcomplexity.
Sure! Here is what the first few lines of my conllu file looks like:
1 # # X XX _ 2 dep _ _
2 Mixtures mixture VERB VBZ _ 2 ROOT _ _
3
SPACE _SP _ 2 dep _ _
4 The the DET DT _ 6 det _ _
5 next next ADJ JJ _ 6 amod _ _
6 time time NOUN NN _ 2 npadvmod _ _
7 you you PRON PRP _ 8 nsubj _ _
8 are be AUX VBP _ 6 relcl _ _
9 at at ADP IN _ 8 prep _ _
10 the the DET DT _ 11 det _ _
11 beach beach NOUN NN _ 9 pobj _ _
12 , , PUNCT , _ 2 punct _ _
13 pick pick VERB VB _ 2 conj _ _
14 up up ADP RP _ 13 prt _ _
15 a a DET DT _ 16 det _ _
16 handful handful NOUN NN _ 13 dobj _ _
17 of of ADP IN _ 16 prep _ _
18 sand sand NOUN NN _ 17 pobj _ _
19 . . PUNCT . _ 2 punct _ _
20
from textcomplexity.
I don’t know if GitHub messed with the formatting, but it seems like the third token is a newline character? The txtcomplexity
tool assumes that token information is on a single line, i.e. it cannot deal with tokens that contain literal newline characters and therefore span multiple lines. Out of curiosity: Do you happen to know how that file was created?
from textcomplexity.
That makes sense, thanks! And my PhD advisor wrote a python program to convert txt files to conllu format; happy to add the code if you're interested in looking at it :)
from textcomplexity.
Related Issues (6)
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 textcomplexity.