Giter Site home page Giter Site logo

Merge with lalop fork? about amphetype_new HOT 6 OPEN

DMarm avatar DMarm commented on June 2, 2024
Merge with lalop fork?

from amphetype_new.

Comments (6)

adamgordonbell avatar adamgordonbell commented on June 2, 2024

Hi Dmarm,

Good idea, I will take a look at it.

from amphetype_new.

adamgordonbell avatar adamgordonbell commented on June 2, 2024

Hi,
I have merged it here, it runs, but I haven't tested it https://github.com/agbell/amphetype_new/tree/lalopmak_imerge

from amphetype_new.

DMarm avatar DMarm commented on June 2, 2024

Hi,
It seems to work except the import, I can't get it working properly, it cuts my sentences in the middle.
I think it choose the minimum length size before anything else.

If your minimum length size is at 20 after reaching any character in the regex field, which is logical, but I can't get it working.

If I remove any character in the field to get the default import, it doesn't work, if I put a # in the first field and in the second, it import a blank text.

Maybe it's me but I can't get this feature working correctly.

Except this, everything seems to work.

from amphetype_new.

DMarm avatar DMarm commented on June 2, 2024

Hello Adam.

I made a text file to illustrate my issue. I used the # character but what I am trying to de is to keep the lesson laid out as I made it in the text file.

I made two version one with a # for every lesson and an other one to separate just big block of lesson.

I hope it make sense.

lesson 1
lesson 2
lesson 3
####
lesson 4
-lesson 4!
-lesson 4? lesson 4.
####
lesson 5 lesson 5 lesson 5
lesson 6 lesson 6 lesson 6




lesson 1 ####
lesson 2 ####
lesson 3 ####
####
lesson 4
-lesson 4!
-lesson 4? lesson 4.
####
lesson 5 lesson 5 lesson 5 ####
lesson 6 lesson 6 lesson 6 ####

from amphetype_new.

adamgordonbell avatar adamgordonbell commented on June 2, 2024

I just tried this out, and probably I am not understanding what you are asking. If you want the lessons to split on "####" then put that in as the split regex, and also add # to the strip text box.

Also, the merged branch seems to have some issues at present so I would use master for the time being.

from amphetype_new.

DMarm avatar DMarm commented on June 2, 2024

I think you get it right. I don't know why it was not working but at least on my test text it almost work.
I had to change it a little bit to get it right.

lesson 1####
lesson 2####
lesson 3####
lesson 4 :
-lesson 4!
-lesson 4? lesson 4.####
lesson 5 lesson 5 lesson 5####
lesson 6 lesson 6 lesson 6####

it creates each lesson separatly but for lesson 4 it doesn't keep the line break, and put everything in a line.
But at least I got the separation working.

Thanks.

from amphetype_new.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.