Questions tagged [hyphenation]
190 questions
4
votes
2 answers
hyphenation preprocessing
I need some leads for tools in PHP and/or java (Spring + Hibernate currently) to use for hyphenation of content. I have some text content in included files and some in a database. All text is utf-8 encoded and I need soft hyphens as the support for…

MiB
- 575
- 2
- 10
- 26
4
votes
3 answers
regex to match specific words hyphenated at arbitrary positions and split across two lines
I wish to search a text file for a given word that may optionally be hyphenated at an unknown position within the word and split across consecutive lines.
eg. match "hyphenated" within:
This sentence contains a hyphena-
ted word.
Closest…

user1775138
- 230
- 1
- 4
4
votes
1 answer
ASP.NET MVC 4 - Allow dashes / hypens in URL's
I am struggling how to properly allow dashes / hypens in a URL in my MVC 4 / ASP.NET 4.5 app...for some reason MVC converts the dashes to underscores which is not what i want.
I've done a good bit of searching around before i posted the question,…

KabanaSoft
- 1,591
- 2
- 13
- 13
4
votes
6 answers
Don't split hyphenated words
I'm developing a website (Wordpress, HTML, CSS, jQuery) with contents written in portuguese. There are a lot of words with hyphen, which are broken in half if they appear at the end of the line. Here's an example:
Batata frita pála-
pála, é uma tara…

Cthulhu
- 5,095
- 7
- 46
- 58
4
votes
1 answer
Why does the Synopse hyphenation code give different results from TeX's?
This question follows previous question but different. Synopse's delphi hyphenation is very fast and builts on OpenOffice libhnj library that uses TeX hyphenation.
A simple test is :
If I input 'pronunciation', the Synopse hyphenation outputs…

Warren
- 795
- 1
- 10
- 19
3
votes
1 answer
IE9 hyphenation problem - hyphen at start of line
In IE9, some posts on our blog hyphenate strangely, with the hyphen appearing on the line after the word break.
For example, in http://yochicago.com/airbnb-%E2%80%93-illegal-short-term-rentals-galore/23326/ "short-term," in the first paragraph,…

Rich
- 124
- 2
- 9
3
votes
0 answers
Google Docs Hyphenation Script
I have an important question:
Is it be possible to implement german or english hyphenation in Google Docs? (Solved in a similar way as in Word or LaTex (Babel hyphenation)?) I`m not good in writing a Google Script in Docs Script editor. But would it…
user14091169
3
votes
5 answers
No hyphenation in hyphenated block
Is there a possibility to disable hyphenation for a text snippet inside a fo:block?
My problem is That it’s not possible to set hyphenate="false"
on fo:inline because it’s not a property. And fo:block inside fo:block creates a new…

CrazyEight
- 147
- 1
- 18
3
votes
1 answer
How to remove hyphens during fill-paragraph?
When I manually use fill-paragraph I would like to have emacs remove all previously inserted hyphenations (by others?). That means automatically replacing all "-\n" with "".
How can I do that?

towi
- 21,587
- 28
- 106
- 187
3
votes
1 answer
OpenOffice Hyphenation algorithm - what does the parameters mean?
I am looking the hyphenation aglorithm downloaded from the OpenOffice site, but I couldn't understand what the parameter rep, pos, and cut are for after looking at the comment. Could someone with the knowledge tell me what these parameters do? Here…

Ray Zhou
- 716
- 10
- 22
3
votes
1 answer
Detecting syllables in a word containing non-alphabetical characters
I'm implementing readability test and have implemented simple algorithm of detecting sylables.
Detecting sequences of vowels I'm counting them in words, for example word "shoud" contains one sequence of vowels which is 'ou'. Before I'm counting them…

dfens
- 5,413
- 4
- 35
- 50
3
votes
2 answers
Hyphenating underscored Clojure map keys for database results
I'm using SQLingvo and clojure.jdbc to access a PostgreSQL database.
Data is being returned as underscored maps, e.g. {:created_at "some date"}, when I expect hyphenated keywords like :created-at. Is there an easy way to marshall these maps back…

Petrus Theron
- 27,855
- 36
- 153
- 287
3
votes
0 answers
Off-line text hyphenation for HTML
I've got a (Russian) text that I need to hyphenate programmatically to be displayed in browser (i.e. use a script of some kind to put where appropriate).
I know about hyphenator.js, but, since all my content is already generated off-line, I'd…

Alexander Gladysh
- 39,865
- 32
- 103
- 160
3
votes
1 answer
How to detect automatic hyphenation support?
I would like to use hyphenation polyfill (e. g. hypher.js or hyphenator.js) only when CSS hyphenation not available, i. e.:
if (!Modernizr.hyphenation) {
$('p').hyphenate('en-us')
}
But there is no such detection available in Modernizr. Testing…

Pavlo
- 43,301
- 14
- 77
- 113
3
votes
2 answers
Android full justify and auto-hyphenation with Hyphenator.js
I'm trying to fully justify text in Android with auto-hyphenation. I have achieved full justification using a WebView as explained here. I have read a couple of threads on auto-hyphenation in Android, but none of them apply to WebViews. I've tried…

willlma
- 7,353
- 2
- 30
- 45